[
https://issues.apache.org/jira/browse/SHINDIG-331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brian Eaton resolved SHINDIG-331.
---------------------------------
Resolution: Fixed
> makeRequest methods other than GET and POST do not work
> -------------------------------------------------------
>
> Key: SHINDIG-331
> URL: https://issues.apache.org/jira/browse/SHINDIG-331
> Project: Shindig
> Issue Type: Bug
> Components: Gadget Rendering Server (Java)
> Reporter: Brian Eaton
>
> It's impossible to send request methods other than GET or POST via
> gadgets.io.makeRequest. There are several bugs in the code that interfere
> with this.
> In io.js:
> - we currently decide whether the method to use to send the proxy request
> should be GET or POST based on the cache refresh interval. The default cache
> refresh interval is determined based on whether or not there is a post body.
> That doesn't seem right. My guess is that we should disable caching (refresh
> interval == 0) any time the method of the request is not GET.
> In BasicHttpFetcher.java:
> -we only send GET or POST requests. Again, the logic should probably
> change to check if method != GET.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.