[ https://issues.apache.org/jira/browse/PIVOT-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13599576#comment-13599576 ]
Steven Swor edited comment on PIVOT-900 at 3/12/13 1:37 AM: ------------------------------------------------------------ The attached patch files change how Query determines whether or not to expect a result in the server's response, opening up the possibility of using HTTP methods other than GET. These were created based on revision 1455365 of the trunk. was (Author: sworisbreathing): The attached patch files change how Query determines whether or not to expect a result in the server's response, opening up the possibility of using HTTP methods other than GET. > Allow Query responses for HTTP methods other than GET > ----------------------------------------------------- > > Key: PIVOT-900 > URL: https://issues.apache.org/jira/browse/PIVOT-900 > Project: Pivot > Issue Type: Improvement > Components: web > Reporter: Steven Swor > Attachments: GetQuery.patch, Query.patch > > > Currently, > org.apache.pivot.web.Query.execute(org.apache.pivot.web.Query.Method, Object) > is hard-coded to only deserialize an object from the response body if the > method used is GET. However, there are situations where other methods such > as POST are used and the server will still return a response instead of a > redirect (such as non-RESTful web services or workarounds for large query > strings). > This issue is complicated because the method directly accesses several > private-scoped variables (such as status, bytesSent, bytesReceived, and > bytesExpected), which makes it difficult to override this method. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira