shieber / latiki

Automatically exported from code.google.com/p/latiki
1 stars 0 forks source link

Remove CherryPy form-handling hacks; stop using HttpRequest.asyncPost and switch to RequestBuilder #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
fixed.

Original comment by barill...@gmail.com on 7 Jul 2008 at 6:37