[Bug libgcj/26487] Weird handling of HTTP Headers

daney at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 3 23:24:00 GMT 2006



------- Comment #12 from daney at gcc dot gnu dot org  2006-03-03 23:24 -------
Fixed by this patch to GNU classpath:

2006-03-03  David Daney  <ddaney@avtrex.com>

    * gnu/java/net/protocol/http/HTTPURLConnection.java
    (getRequestProperties): Rewrote.
    (addRequestProperty): Rewrote.
    (getHeaderFields): Rewrote.
    (getHeaderField): Rewrote.
    (getHeaderFieldKey): Rewrote.
    (getHeaderField): Removed useless cast.
    * gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
    * gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
    interface.
    (notifyHeaderHandlers): Use new Headers interface.


libgcj will inherit the fix on the next classpath import.


-- 

daney at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26487



More information about the Java-prs mailing list