File upload API breaks data upload
Created by: catwell
Basically, you cannot upload data that begins with 0x40
(i.e. @), because of this:
- https://github.com/fperrad/lua-Spore/blob/master/src/Spore/Protocols.lua#L70
- https://github.com/fperrad/lua-Spore/blob/master/src/Spore/Protocols.lua#L112
- https://github.com/fperrad/lua-Spore/blob/master/src/Spore/Middleware/Auth/AWS.lua#L89
Discriminating on the first character looks like a bad API choice (I know some interfaces of cURL do it though...). I am not sure if there is a way to fix it and still be backwards compatible.