This is the mail archive of the java-prs@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/26487] Weird handling of HTTP Headers



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]