Long story short, i'm writing to write a class to be able to put and get files from a s3 bucket.
Part of the amazon s3 documentation describes http put requests to be like this:
PUT /ObjectName HTTP/1.1
I don't really see a way to do that using httprequest. I only see methods to add headers.
Is there a quick work around with reflection? I used tpacketCapture and see the put request in the following format:
PUT / HTTP/1.1
Date: Thursday, 27 February 2014 19:53:17
Authorization: AWS AKIAJX5FT77CS5VLAYEA:nKnPBlnRTdqI+ey2SMk+IHjM6G2T16aYIpIO5ynolgc=
the error i get is method not allowed. When doing some looking into it, they mentioned the PUT header not being correct as the documentation suggests it should be like.