jiakuan / gwt-uploader

An API to enable sophisticated file upload capabilities within a GWT application.
http://gwt-uploader.appspot.com/
Apache License 2.0
10 stars 6 forks source link

Make it possible to add custom HTTP headers #1

Closed FrankW76 closed 7 years ago

FrankW76 commented 7 years ago

Using XHR2 it is possible to inject custom HTTP headers, and upload a file at the same time. This is not possible using the classic way.

Since this library is using XHR2 it would be a good addition if adding HTTP headers would also be possible in this library.

jiakuan commented 7 years ago

Will have a look when I have a chance. Any pull requests are welcome.

FrankW76 commented 7 years ago

See my pull request

2

Tested in my own project and working

jiakuan commented 7 years ago

Great. Have created a new release 1.2.1, which will reach Maven central perhaps in a few hours.