Re: Content type

[email protected] Fri, 12 Mar 2004 17:36:50 +0100
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
Hi,

On Thu, Mar 11, 2004 at 09:53:55PM -0600, [email protected] wrote:
> On Tue, Mar 09, 2004 at 02:49:05PM -0600, [email protected] wrote:
> > Apparently, one of the reasons rpm and yum does not work with publicfile's httpd
> > is that httpd does not support content-type.  Why does not it support it?
> 
> Sorry, I meant content-length:
> 
> [Errno 6] ERROR: Url Return no Content-Length  - something is wrong

it supports Content-Length, too. But if the client uses HTTP/1.1, then
publicfile uses chunked encoding instead of content-length.

If your client does not support "Transfer-Encoding: chunked" it should
not issue HTTP/1.1 requests.

Bye,
	Peter
-- 
Peter Conrad      | "Hi! I'm a signature virus! Copy me to your .signature,
Friedensallee 152 |  pleeeeeeeeeze!"   - found in someone else's .signature
63263 Neu-Isenburg
Germany

  email: [email protected] / WWW: http://www.unix-ag.uni-kl.de/~conrad