use native content_length
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2020-04-29 23:00:55 +02:00
parent 7abec4e257
commit d516059c84
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ class SampleResource(Resource):
'wave.wav',
soundfile,
soundfile.content_type,
{'Content-Length': len(soundfile)})})
{'Content-Length': soundfile.content_length})})
rabbitmq_channel.basic_publish(
exchange=RABBITMQ_EXCHANGE,
routing_key='feature',