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

PROPFIND - Content-Length Header !!!

From: Cristi Gafita <gcris80@hotmail.com>
Date: Thu, 6 Dec 2001 13:33:02 +0200
To: <www-webdav-dasl@w3.org>
Message-ID: <OE53Me6d6v8JJYalPCz0000d7d9@hotmail.com>
Hi,
I try to make a request for an Exchange2000 server like this :

PROPFIND /exchange/admin/Inbox/c.EML HTTP/1.1
Host: 192.108.5.23:80
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 xmlns:D="DAV:"><D:getcontenttype/></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 ?

-Chris
Received on Thursday, 6 December 2001 06:23:06 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 22 March 2009 03:38:07 GMT