W3C home > Mailing lists > Public > www-lib@w3.org > January to March 1999

Re: POSTing from memory AND file

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Tue, 19 Jan 1999 06:28:13 -0500
To: www-lib@w3.org
Message-ID: <36A46C4D.288B18CD@w3.org>
To: Jim_Ravan@avid.com

Jim_Ravan@avid.com wrote:
> I need to POST in a special way. The first portion of the entity body needs
> to come from formatted strings in memory. The second portion needs to come
> from a file. I asume I need a stream to do this. But where/when do I set
> the stream up? Is it in the request? If I use a stream to POST data, must I
> drive the POST request myself, or can I use something in HTAccess?

I am still working on a change that allows you to POST in multiple steps
but haven't got the code ready yet. Currently, libwww expects you to
post the whole object at once, that is, it doesn't call the stream that
feeds the data more than once.

This is essentially the same problem as Olga has when trying to post in
multiple steps directly from a file.

Doing byterange PUT in HTTP/1.1 is hard - it is not supported. It was
postponed to be fixed in WebDAV but they say that they have had other
things that came first. I would have liked to do PUT with byte ranges
too but the best way forward for now spec wise is to get the HTTP
extension framework that I am working on in place.

Received on Tuesday, 19 January 1999 06:28:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:49 UTC