Modifying the source code to add Content disposition header

Apr 14, 2010 at 11:35 PM


I noticed that the uploader doesnt have a content dispostion header, but i can see the possibility of adding it through modifying the source code.

I downloaded the source code, but im not sure which parts i have to change (I can see where the headers are getting added in the javascript file, but other than that, im not sure if i have to add code elsewhere). Can someone please help me?

thanks alot

May 7, 2010 at 6:42 PM

I learned that it is not possible to modify in this app mainly because to submit headers one has to do it through REST API.  Amazon allows us to modify the headers ONLY by copying or replacing the objects in S3.  So by using the AWS SDK for .net  you can copy the object on itself by using a replace directive and pass new headers as well.  All you need to do is pass "Content-Disposition", "attachment" into a header.


Good luck!