[ 
https://issues.apache.org/jira/browse/SHINDIG-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069014#comment-13069014
 ] 

[email protected] commented on SHINDIG-1555:
--------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/991/
-----------------------------------------------------------

(Updated 2011-07-21 14:59:57.536685)


Review request for Ryan Baxter and Stanton Sievers.


Changes
-------

Removed the unnecessary buildHttpRequest method.


Summary
-------

Implemented the function doPost for the shindig ProxyServlet class.


This addresses bug SHINDIG-1555.
    https://issues.apache.org/jira/browse/SHINDIG-1555


Diffs (updated)
-----

  
http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ProxyHandler.java
 1141997 
  
http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/ProxyServlet.java
 1141997 
  
http://svn.apache.org/repos/asf/shindig/trunk/java/gadgets/src/test/java/org/apache/shindig/gadgets/servlet/ProxyServletTest.java
 1141997 

Diff: https://reviews.apache.org/r/991/diff


Testing
-------

Created a gadget that made a post request from a proxy server using the 
following lines of code:

var proxyURL = gadgets.io.getProxyUrl("https://www.website.com";);
var request = new XMLHttpRequest();
request.open("POST", proxyURL, false);


Thanks,

Michael



> Shindig's ProxyServlet should implement doPost
> ----------------------------------------------
>
>                 Key: SHINDIG-1555
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1555
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Java
>    Affects Versions: 2.0.2
>            Reporter: Stanton Sievers
>              Labels: proxy
>             Fix For: 3.0.0
>
>   Original Estimate: 72h
>  Remaining Estimate: 72h
>
> Shindig's ProxyServlet currently does not support HTTP POST.  This 
> improvement would be to augment the existing ProxyServlet to implement doPost 
> as well as doGet.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to