hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 37526] - warn on invalid set-cookie header
Date Thu, 17 Nov 2005 12:00:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37526>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=37526





------- Additional Comments From rolweber@de.ibm.com  2005-11-17 13:00 -------
> java.lang.IllegalArgumentException:
> Cookie name may not be blank
>	at org.apache.commons.httpclient.Cookie.&lt;init&gt;(Cookie.java:113)
>	at
org.apache.axis.transport.http.CommonsHTTPSender.addCookie(CommonsHTTPSender.java:368)
> 	at
org.apache.axis.transport.http.CommonsHTTPSender.fillHeaders(CommonsHTTPSender.java:356)
> 	at
org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:183)

To me, this looks as if Axis is trying to do cookie management by itself.
The Cookie class refuses to be initialized with an empty name, which is
correct. If Axis was using HttpClient's HttpState, there shouldn't be a
need to create a Cookie object!?

cheers,
  Roland

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-dev-help@jakarta.apache.org


Mime
View raw message