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
{{ message }}
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.
If I use putObjectWithFile with some x-amz headers, for example
x-amz-acl: public-read
The Authorization header is calculated wrong. Because x-amz-acl is not included in the calculation. Another header missing from the calculation is Content-Type.
Here is another question. If I want to putObject with NSData, it seems that I have write my own method.
Thanks!
The text was updated successfully, but these errors were encountered:
The problem is in setObjectWithMethod, the Authorization is calculated before parameters added to the request. But if I pass parameters to requestWithMethod, they'll just be ignored and Content-Type become s "application/x-www-form-urlencoded" :(
If I use putObjectWithFile with some x-amz headers, for example
x-amz-acl: public-read
The Authorization header is calculated wrong. Because x-amz-acl is not included in the calculation. Another header missing from the calculation is Content-Type.
Here is another question. If I want to putObject with NSData, it seems that I have write my own method.
Thanks!
The text was updated successfully, but these errors were encountered: