Re: Content type

[email protected] Sun, 14 Mar 2004 08:12:05 -0600
Newsgroups gmane.comp.djb.publicfile
Message-ID <[email protected]>
On Fri, Mar 12, 2004 at 05:36:50PM +0100, [email protected] wrote:
> 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.

Here is a response from yum's maintainer:

     publicfile isn't sending a content length header with it's url depsite
     claiming to be an http 1.0 compliant web server.

     it's broken.

Mate

-- 
---
Mate Wierdl | Dept. of Math. Sciences | University of Memphis  
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html