Demo fails on http://webdav.4shared.com with webdav.Connection.WebdavError: Not Implemented

Bug #1177031 reported by kwhitefoot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python WebDAV Library
New
Undecided
Unassigned

Bug Description

I tried to connect to 4shared and this is what I got back:

===============================================================
kj@otto:~$ python /usr/local/lib/python2.7/dist-packages/webdav/WebdavClient.py
WebDAV URL:http://webdav.4shared.com
2013-05-06 19:58:02,155: DEBUG: REQUEST Send GET for /
2013-05-06 19:58:02,156: DEBUG: REQUEST Body: None
2013-05-06 19:58:02,657: DEBUG: Method: GET Status 401: Unauthorized
2013-05-06 19:58:02,658: DEBUG: ERROR Response: <html><head><title>Apache Tomcat/6.0.16 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 401 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>This request requires HTTP authentication ().</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.16</h3></body></html>
User Name:xxxxxx
Password:

2013-05-06 19:58:10,358: DEBUG: REQUEST Send GET for /
2013-05-06 19:58:10,358: DEBUG: REQUEST Body: None
2013-05-06 19:58:10,358: DEBUG: REQUEST Header: ('AUTHORIZATION', 'Basic bmluYWxhbnlvbjpNYW5pYWM=')
2013-05-06 19:58:10,529: DEBUG: Method: GET Status 501: Not Implemented
2013-05-06 19:58:10,530: DEBUG: ERROR Response: <html><body><h1>Method Not Implemented</h1></body></html>
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/webdav/WebdavClient.py", line 875, in <module>
    webdavConnection.downloadFile(webdavUrl.split("/")[-1])
  File "/usr/local/lib/python2.7/dist-packages/webdav/WebdavClient.py", line 371, in downloadFile
    remoteFile = self.downloadContent()
  File "/usr/local/lib/python2.7/dist-packages/webdav/WebdavClient.py", line 360, in downloadContent
    response = self.connection.get(self.path, extra_hdrs=extra_hdrs)
  File "/usr/local/lib/python2.7/dist-packages/davlib.py", line 158, in get
    return self._request('GET', url, extra_hdrs=extra_hdrs)
  File "/usr/local/lib/python2.7/dist-packages/webdav/Connection.py", line 125, in _request
    return self.__evaluateResponse(method, response)
  File "/usr/local/lib/python2.7/dist-packages/webdav/Connection.py", line 143, in __evaluateResponse
    raise WebdavError(reason, status)
webdav.Connection.WebdavError: Not Implemented
===============================================================

You are in good company; Opera 12.15 and Firefox 20.0 give the same error.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.