GWT's asyncPost does not support changing the content-type of the request.
[1] To avoid hacking GWT, I hacked CherryPy to infer the content-type from
the URL of the request. This is wrong for obvious reasons.
[1]
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/ac0868085
4a51244
GWT has another class called RequestBuilder that does support editing the
request headers. We should use that instead and ditch the CherryPy hacks.
Original issue reported on code.google.com by barill...@gmail.com on 22 Jun 2008 at 7:11
Original issue reported on code.google.com by
barill...@gmail.com
on 22 Jun 2008 at 7:11