RE: Put
Mike Dierken <[email protected]> Wed, 7 Aug 2002 10:01:18 -0700
| Newsgroups | gmane.comp.web.general |
|---|---|
| Message-ID | <[email protected]> |
I vaguely remember that the MS DAV clients are very chatty and send lots = of messages. I think the client is double checking to make sure the user has permissio= ns to create the resource before actually sending the bytes of the file. > -----Original Message----- > From: Paulo Patr=EDcio [mailto:[email protected]]=20 > Sent: Wednesday, August 07, 2002 3:50 AM > To: [email protected] > Cc: Fernando Claverino > Subject: Re: Put >=20 >=20 >=20 >=20 > At 07:27 07-08-2002 -0300, you wrote: >=20 > >Hello > > > >I'm doing a webdav server for a internet explorer client and=20 > I have a=20 > >problem when the client sends put for create a new resource=20 > because it=20 > >don't sends the body. I try to send continue (HTTP/1.1 100 Continue)=20 > >but this didn't works. How I can get the body ? > > > > > >This is what client and server sends: > > > >Client: > > HEAD /prueba1.txt.txt HTTP/1.1 > > Accept-Language: es-ar, en-us;q=3D0.2 > > Translate: f > > Content-Length: 0 > > User-Agent: Microsoft Data Access Internet=20 > Publishing Provider DAV > > Host: 192.168.0.1:81 > > Connection: Keep-Alive > > > >Server: > > HTTP/1.1 404 NOT FOUND > > > >Client: > > PUT /prueba1.txt.txt HTTP/1.1 > > Accept-Language: es-ar, en-us;q=3D0.2 > > Translate: f > > Content-Length: 0 > > User-Agent: Microsoft Data Access Internet=20 > Publishing Provider DAV > > Host: 192.168.0.1:81 > > Connection: Keep-Alive >=20 > Well, i think you can find the answer to your problem at page=20 > 36 of RFC 2616. >=20 http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6 Paulo.