Reviewers: jgw, t.broyer,

Description:
From: http://gwt-code-reviews.appspot.com/61812
Author: t.broyer
"This patch adds DELETE, HEAD and PUT methods to RequestBuilder and
opens the
RequestBuilder(String,String) ctor to public visibility.

The restriction to GET and POST was only because of very old Safari
versions
(2.x or maybe even earlier).

I've also removed a safari-special-case in the tests (was special-casing
safari
because of a bug in safari 2.0.4)"


Changes from t.broyer's patch:
================================
This is a modified version of the patch that t.broyer submitted.  The
safari-special-case still appears in Safari 4.0 for Mac OSX and Windows,
so I left that in.  I left the protected ctor in RequestBuilder as
protected to encourage people to think about what they are doing if they
want to use non-standard Methods.

I updated the test case since we reuse the same methods many times.

Testing:
========
Manually verified that tests pass on FF3.5, Safari 4.0, IE8, Chrome.

Please review this at http://gwt-code-reviews.appspot.com/119802

Affected files:
   user/src/com/google/gwt/http/client/RequestBuilder.java
   user/test/com/google/gwt/http/client/RequestBuilderTest.java
   user/test/com/google/gwt/http/server/RequestBuilderTestServlet.java


-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to