Community
Participate
Working Groups
Is this related to HTTP redirections?
Looking at the HTTP dump it seems that indeed two requests are sent: POST /job/test-parameterized/build HTTP/1.1 User-Agent: Mylyn/3.5.0 Apache XML-RPC/3.0 Eclipse/3.6.0 (org.eclipse.sdk.ide) HttpClient/3.1 Java/1.6.0_20 (Sun) Linux/2.6.34-020634rc6-generic (i386; en_CA) Content-Length: 665 ... HTTP/1.1 302 Found Server: Winstone Servlet Engine v0.9.10 Location: http://localhost:8080/job/test-parameterized/ Content-Length: 0 Connection: Keep-Alive Date: Tue, 31 Aug 2010 18:56:45 GMT X-Powered-By: Servlet/2.5 (Winstone/0.9.10) POST /job/test-parameterized/build HTTP/1.1 User-Agent: Mylyn/3.5.0 Apache XML-RPC/3.0 Eclipse/3.6.0 (org.eclipse.sdk.ide) HttpClient/3.1 Java/1.6.0_20 (Sun) Linux/2.6.34-020634rc6-generic (i386; en_CA) Content-Length: 665 Content-Type: application/x-www-form-urlencoded ... HTTP/1.1 302 Found Server: Winstone Servlet Engine v0.9.10 Location: http://localhost:8080/job/test-parameterized/ Content-Length: 0 Connection: Keep-Alive Date: Tue, 31 Aug 2010 18:56:45 GMT X-Powered-By: Servlet/2.5 (Winstone/0.9.10)
I have fixed the handling code. The request was indeed being send twice due to erroneous checking of the HTTP response code.
Created attachment 202269 [details] mylyn/context/zip