AWS Gateway messes with content of uploaded Python source files. #1067
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The following code uploads nicely.
But when I point it at an AWS Lambda-backed API Gateway, the
bodyof the response has altered the whitespace in the uploaded file. This is a problem because the files I am using this to upload are Python source code files which are whitespace-sensitive.How can I get the uploader to tell AWS Gateway to not process the file content? I don't have this problem with a flask backend, just with the AWS Gateway.