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
I'm trying to use knox to put some data on S3 but it always fails with a 501. Here's my code. Ignore the extra returns -- it's generated from coffee-script.
501
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>NotImplemented</Code><Message>A header you provided implies functionality that is not implemented</Message><Header>Transfer-Encoding</Header><RequestId>67F400ED6D76C07A</RequestId><HostId>oyEU9C4gk/Kf6PQta2roQ2q0Pe1cfvi1BeoVUhsEPNV5qf/39ZmOVXCn5HqdCZtq</HostId></Error>
This doesn't make sense to me. Googling around, I found that S3 usually returns this response when you try and do some operation that shouldn't send any content, but you sent content anyway. But this is a put. It's supposed to have content. Looking through the request object, it appears that content length is set and the body is being written as it should be. So what is going wrong?
The text was updated successfully, but these errors were encountered:
This issue was really useful to me, as it wasn't evident that "Content-Length" was a mandatory field. Totally obvious, but the response error is very confusing.
I'm trying to use knox to put some data on S3 but it always fails with a 501. Here's my code. Ignore the extra returns -- it's generated from coffee-script.
What I get on the console is this:
This doesn't make sense to me. Googling around, I found that S3 usually returns this response when you try and do some operation that shouldn't send any content, but you sent content anyway. But this is a put. It's supposed to have content. Looking through the request object, it appears that content length is set and the body is being written as it should be. So what is going wrong?
The text was updated successfully, but these errors were encountered: