You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently when botocore makes an AWS call it doesn't set any Accept-Encoding so it comes back as plain text. If we enable this by setting request.headers['Accept-Encoding'] = 'gzip' before requests are made, AWS will return back gzip'd responses if the responses are large enough (large enough dynamodb call for example. The issue is that the code after the request has no concept of compressed responses, and convert_to_response_dict tries to just look at the "content" property, which is empty for gzip'd responses.
The fix should be as simple as correctly processing gzip'd responses and adding the supported types to the headers.
The text was updated successfully, but these errors were encountered:
currently when botocore makes an AWS call it doesn't set any
Accept-Encoding
so it comes back as plain text. If we enable this by settingrequest.headers['Accept-Encoding'] = 'gzip'
before requests are made, AWS will return back gzip'd responses if the responses are large enough (large enough dynamodb call for example. The issue is that the code after the request has no concept of compressed responses, andconvert_to_response_dict
tries to just look at the "content" property, which is empty for gzip'd responses.The fix should be as simple as correctly processing gzip'd responses and adding the supported types to the headers.
The text was updated successfully, but these errors were encountered: