use native content_length
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7abec4e257
commit
d516059c84
@ -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',
|
||||
|
Loading…
Reference in New Issue
Block a user