Bug 69014 - WebDAV plugin doesn't send login data to Zope WebDAV server
Summary: WebDAV plugin doesn't send login data to Zope WebDAV server
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: WebDAV (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-WebDAV-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2004-06-30 10:29 EDT by Philipp Walter CLA
Modified: 2007-06-20 13:53 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Walter CLA 2004-06-30 10:29:47 EDT
Zope (www.zope.org) contains an integrated WebDAV server. The Eclipse WebDAV
plugin doesn't send authorization data to such a Zope-WebDAV-Server, instead it
presents a dialog with an exception "Error communicating with DAV server: 401
Unauthorized". Username and password are correct, and other WebDAV tools like
cadaver establish an authenticated connection to the server.

A tcpdump trace reveals that Eclipse usually sends a HTTP PROPFIND request
without "Authorization:" line first. If the server responds with HTTP code 401
(unauthorized), it sends the same request again, this time with an authorization
field. This behaviour can be observed with Apache2 DAV, for example. With a Zope
DAV server, however, the second request is never sent, instead the exception is
shown to the user.

My guess: Apache DAV sends back an "HTTP/1.1 401 Authorization required", while
Zope DAV sends "HTTP/1.1 401 Unauthorized" - perhaps there is a bug in the
status code parser?
Comment 1 Richard Waid CLA 2006-03-20 21:00:22 EST
I concur. I am seeing exactly the same thing (eclipse 3.1.1), and the analysis of the problem is exactly what I supposed was happening too.
Comment 2 thomas comiotto CLA 2006-04-17 11:47:49 EDT
Same goes for cocoon applications, where 401: Unauthorinzed is the default behaviour. 

Comment 3 DJ Houghton CLA 2007-06-20 13:53:05 EDT
This component is no longer being actively developed. We encourage users to investigate the capabilities of the Eclipse Web Tools Project.