W3C home > Mailing lists > Public > www-webdav-dasl@w3.org > October to December 2001

RE: PROPFIND - Content-Length Header !!!

From: Lisa Dusseault <lisa@xythos.com>
Date: Thu, 6 Dec 2001 09:20:00 -0800
To: "Cristi Gafita" <gcris80@hotmail.com>, <www-webdav-dasl@w3.org>

This request is missing some of the elements of a standard PROPFIND request.
See http://www.ietf.org/rfc/rfc2518.txt  -- section 8.1.1 shows an example
of a PROPFIND request with all the required elements in the body.  The one
you're missing is the <prop> element.  Your request body should be:

<?xml version="1.0" encoding="utf-8" ?><D:propfind

Please use the main WebDAV mailing list for questions on RFC2518, because
the mailing list you've used is for DASL (Searching), not all of WebDAV.
The main WebDAV mailing is w3c-dist-auth@w3.org.

  -----Original Message-----
  From: www-webdav-dasl-request@w3.org
[mailto:www-webdav-dasl-request@w3.org]On Behalf Of Cristi Gafita
  Sent: Thursday, December 06, 2001 3:33 AM
  To: www-webdav-dasl@w3.org
  Subject: PROPFIND - Content-Length Header !!!

  I try to make a request for an Exchange2000 server like this :

  PROPFIND /exchange/admin/Inbox/c.EML HTTP/1.1
  Accept-Language: en-us
  Authorization: Basic c3RyYXRldXI6RE5V6XRER7T3WVZYWA==
  Content-Type: text/xml; charset="utf-8"
  Connection: close
  Content-Length: 98

  <?xml version="1.0" encoding="utf-8" ?><D:propfind

  well it doesn't work, when I don't use Content-Length header it does work.
I thought that I write a wrong Content-Length but I don't. For some requests
like PROPFIND it works without Content-Length but I need this for something
else. My request body has no CRLF it's just a line with a propfind element.
I don't understand.
  Do I write anything wrong ?

Received on Thursday, 6 December 2001 12:36:52 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:22:42 UTC