- From: Greg Stein <gstein@lyra.org>
- Date: Fri, 2 Mar 2001 14:44:59 -0800
- To: "Benn, Paul" <paul.benn@netapp.com>, warner.c@apple.com
- Cc: "'w3c-dist-auth@w3.org'" <w3c-dist-auth@w3.org>
This is a bug in the MacOS X client DAV library. When it does a PROPFIND, it doesn't send a Content-Length (as you can see below). A friend of mine at Adobe just ran into this a week or two ago during some interoperability testing, but I thought it was just their URLAccess library (rather than a general issue). The rules on Content-Length are specified in section 4.4 of RFC 2616. If a C-L isn't provided, then Apache happens to use a length==0 and assume there is no body (i.e. if there is, then it'll monkey up the next request). IIS returns 411. Both are valid approaches. My Adobe friend just manually inserted a Content-Length: 0 in the request header when operating on the MacOS platform. That is doable from code, of course; if their webdavfs doesn't do it (I can't tell what you're using to talk to the IIS5 box), then you're stuck. Cheers, -g On Thu, Mar 01, 2001 at 06:41:19PM -0800, Benn, Paul wrote: > Sorry if this isn't really the right place to ask this question..... In > experimenting with WebDAV, we can connect to an IIS 5 machine from every MS > client that we've tried. When we attempt from OS X, we get the error: "The > operation could not be completed because the item could not be found." > Could we have a configuration error or is there something known to be broken > in OS X PB? > > Thanks for any advice. > > Paul > > > Here's a trace: > > Hello World! > Arguments given: > Arg # 1: pbmac2.cap > File signature: GMBU > Frame: 1 client -> server 1077 ____S_ > Frame: 2 server -> client 1077 _A__S_ > Frame: 3 client -> server 1077 _A____ > Frame: 4 client -> server 1077 _AP___ > OPTIONS / HTTP/1.1 User-Agent: fetch/1.0 Darwin/1.2 (Power Macintosh) > Accept: */* Host: clab-c1-21.win2ktest.lab.netapp.com:80 Frame: 5 server -> > client 1077 _AP___ > HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Thu, 01 Mar 2001 22:46:33 > GMT MS-Author-Via: DAV Content-Length: 0 Accept-Ranges: none DASL: <DAV:sql> > DAV: 1, 2 Public: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST, COPY, MOVE, > MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, SEARCH Allow: OPTIONS, TRACE, GET, > HEAD, DELETE, COPY, MOVE, PROPFIND, PROPPATCH, SEARCH, MKCOL, LOCK, UNLOCK > Cache-Control: private Frame: 6 client -> server 1077 _AP___ > PROPFIND / HTTP/1.1 User-Agent: fetch/1.0 Darwin/1.2 (Power Macintosh) > Accept: */* Host: clab-c1-21.win2ktest.lab.netapp.com:80 Depth: 0 Frame: 7 > server -> client 1077 _AP___ > HTTP/1.1 411 Length Required Server: Microsoft-IIS/5.0 Date: Thu, 01 Mar > 2001 22:46:33 GMT Connection: close Content-Type: text/html Content-Length: > 50 Frame: 8 server -> client 1077 _AP__F > <body><h2>HTTP/1.1 411 Length Required</h2></body>Frame: 9 client -> server > 1077 _A____ > Frame: 10 client -> server 1077 _A___F > Frame: 11 server -> client 1077 _A____ > Goodbye. -- Greg Stein, http://www.lyra.org/
Received on Friday, 2 March 2001 17:44:59 UTC