Index: ChangeLog =================================================================== RCS file: /cvsroot/classpath/classpath/ChangeLog,v retrieving revision 1.1726 diff -u -b -B -r1.1726 ChangeLog --- ChangeLog 27 Dec 2003 20:15:16 -0000 1.1726 +++ ChangeLog 27 Dec 2003 20:29:57 -0000 @@ -1,6 +1,12 @@ 2003-12-27 Michael Koch * gnu/java/net/protocol/http/Connection.java + (getRequestProperty): Removed. + (setRequestProperty): Removed. + +2003-12-27 Michael Koch + + * gnu/java/net/protocol/http/Connection.java (setRequestProperty): New method. (getRequestProperty): New method. (getHeaderField): Reformated. Index: gnu/java/net/protocol/http/Connection.java =================================================================== RCS file: /cvsroot/classpath/classpath/gnu/java/net/protocol/http/Connection.java,v retrieving revision 1.9 diff -u -b -B -r1.9 Connection.java --- gnu/java/net/protocol/http/Connection.java 27 Dec 2003 20:15:16 -0000 1.9 +++ gnu/java/net/protocol/http/Connection.java 27 Dec 2003 20:29:57 -0000 @@ -134,22 +134,6 @@ doOutput = false; } - public void setRequestProperty(String key, String value) - { - if (connected) - throw new IllegalAccessError("Connection already established."); - - requestProperties.put(key, value); - } - - public String getRequestProperty(String key) - { - if (connected) - throw new IllegalAccessError("Connection already established."); - - return (String) requestProperties.get(key); - } - /** * Connects to the remote host, sends the request, and parses the reply * code and header information returned