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

Exchange 2000 - HTTP/1.1 400 Bad Request

From: Cristi Gafita <gcris80@hotmail.com>
Date: Mon, 26 Nov 2001 13:33:56 +0200
To: <www-webdav-dasl@w3.org>
Message-ID: <OE49T6Z3LstPGtPrPrv00018722@hotmail.com>
I try to make a java WebDAV client, I work with Exchange 2000. 
I made a connection with sockets in Java:

Socket socket = new Socket("", 80);

I took the OutputStream and I send the request.

When I make an xml request I become just "HTTP/1.1 400 Bad Request" response.
My request is like this:

PROPFIND /exchange/admin/Inbox/ HTTP/1.1
Connection: Keep-Alive
Content-type: text/xml; charset="utf-8"
Content-Length: 90
Accept-Language: en-us
Authorization: Basic YWRyYXRldXI6RERERVZYWA==

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

Do I miss something ?
Received on Monday, 26 November 2001 06:24:20 UTC

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