snichol 2002/11/07 20:32:37
Modified: java/src/org/apache/soap/util/net SSLUtils.java
Log:
Remove unnecessary dependency on Sun's JSSE implementation.
Revision Changes Path
1.9 +2 -4 xml-soap/java/src/org/apache/soap/util/net/SSLUtils.java
Index: SSLUtils.java
===================================================================
RCS file: /home/cvs/xml-soap/java/src/org/apache/soap/util/net/SSLUtils.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- SSLUtils.java 18 Oct 2002 20:30:54 -0000 1.8
+++ SSLUtils.java 8 Nov 2002 04:32:37 -0000 1.9
@@ -187,15 +187,13 @@
if (tunnelAuth == null) {
// Authentication not required
msg = "CONNECT " + host + ":" + port + " HTTP/1.0\r\n"
- + "User-Agent: "
- + sun.net.www.protocol.http.HttpURLConnection.userAgent
+ + "User-Agent: Apache SOAP"
+ "\r\n\r\n";
} else {
// need to specify an authentication string in http header
msg = "CONNECT " + host + ":" + port + " HTTP/1.0\r\n"
+ "Proxy-Authorization: " + tunnelAuth + "\r\n"
- + "User-Agent: "
- + sun.net.www.protocol.http.HttpURLConnection.userAgent
+ + "User-Agent: Apache SOAP"
+ "\r\n\r\n";
}
--
To unsubscribe, e-mail: <mailto:soap-dev-unsubscribe@;xml.apache.org>
For additional commands, e-mail: <mailto:soap-dev-help@;xml.apache.org>