ib 2003/02/27 03:55:54
Modified: src/webdav/client/src/org/apache/webdav/lib
WebdavSession.java
Log:
Remove the no longer valid assumption that proxies and https do not go
together
Revision Changes Path
1.26 +5 -4
jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java
Index: WebdavSession.java
===================================================================
RCS file:
/home/cvs/jakarta-slide/src/webdav/client/src/org/apache/webdav/lib/WebdavSession.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- WebdavSession.java 16 Dec 2002 15:17:29 -0000 1.25
+++ WebdavSession.java 27 Feb 2003 11:55:54 -0000 1.26
@@ -185,7 +185,8 @@
client.setState(new WebdavState());
if(proxyHost != null && proxyPort > 0)
client.startSession(httpURL.getHost(), httpURL.getPort(),
- proxyHost, proxyPort);
+ proxyHost, proxyPort,
+ httpURL.getEscapedHttpURL().startsWith("https"));
else
client.startSession(httpURL.getHost(), httpURL.getPort(),
httpURL.getEscapedHttpURL().startsWith("https"));
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]