pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandro Martini <sandro.mart...@gmail.com>
Subject Re: Invoking an HTTP POST service that returns a value object, not a URL
Date Thu, 11 Aug 2011 10:26:14 GMT
Hi all,

>>> If so, it might be possible to lift the restriction on line 469 that
>>> requires a GET request in order to return data. Does anyone know if it
>>> is
>>> possible to determine if a request contains a response body? Perhaps
>>> that
>>> check could be used to gate the if block instead of method ==
>>> Method.GET.
>> Might getContentLength() help?
>I don't believe a server is required to set that field, so it probably
wouldn't be 100% reliable, but might be >sufficient.
Any objection to make this little change for 2.0.2 (and related ticket) ?
BUT NOT without a test case (Jersey or not) ...


View this message in context: http://apache-pivot-users.399431.n3.nabble.com/Invoking-an-HTTP-POST-service-that-returns-a-value-object-not-a-URL-tp3230971p3245500.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

View raw message