[
https://jira.jboss.org/jira/browse/JBREM-1153?page=com.atlassian.jira.plu...
]
Ron Sigal commented on JBREM-1153:
----------------------------------
I haven't researched this issue thoroughly, but
POST
http://btnwks10.corp.inthosts.net:9090/HVODWebService/Import HTTP/1.1
looks legal. See Section 5 "Request" of RFC 2068 "Hypertext Transfer
Protocol -- HTTP/1.1" at
http://www.ietf.org/rfc/rfc2068.txt.
Note, in particular:
Request = Request-Line ; Section 5.1
*( general-header ; Section 4.5
| request-header ; Section 5.3
| entity-header ) ; Section 7.1
CRLF
[ message-body ] ; Section 7.2
where
Request-Line = Method SP Request-URI SP HTTP-Version CRLF
They give the example
GET
http://www.w3.org/pub/WWW/TheProject.html HTTP/1.1
which is what you've got.
Malformed Method line in HTTP requests thru HTTP Proxy
------------------------------------------------------
Key: JBREM-1153
URL:
https://jira.jboss.org/jira/browse/JBREM-1153
Project: JBoss Remoting
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: transport
Affects Versions: 2.2.2.SP8
Environment: JBoss 4.2.3.GA patched with JBossWS 3.0.5
Reporter: Gerald Turner
Attachments: jbossws-noproxy.cap, jbossws-proxy.cap
Invoking a web service with http.proxyHost and http.proxyPort System properties is
broken. It produces a request like the following:
POST
http://btnwks10.corp.inthosts.net:9090/HVODWebService/Import HTTP/1.1
Authorization: Basic b5V0am91bmR5ZbN0ZXI6bH5cdW9yT3Aw
SOAPAction: ""
Content-Type: text/xml; charset=UTF-8
JBoss-Remoting-Version: 22
User-Agent: JBossRemoting - 2.2.2.SP8
Host: btnwks10.corp.inthosts.net:9090
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Proxy-Connection: keep-alive
Transfer-Encoding: chunked
With the System properties removed, the request is sent correctly:
POST /HVODWebService/Import HTTP/1.1
Authorization: Basic b5V0am91bmR5ZbN0ZXI6bH5cdW9yT3Aw
SOAPAction: ""
Content-Type: text/xml; charset=UTF-8
JBoss-Remoting-Version: 22
User-Agent: JBossRemoting - 2.2.2.SP8
Host: btnwks10.corp.inthosts.net:9090
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Transfer-Encoding: chunked
Bug appears to be exactly as described in JBREM-569, however that bug claims to have been
fixed in 2.0.0.GA, maybe a regression occurred?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira