-----Original Message-----
From: Gerald Richter <[EMAIL PROTECTED]>
To: Michael Smith <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: 10 November 2000 20:13
Subject: Re: Content length errors
>> Having upgrade from 1.2 to 1.3b6, I see some oddities with
>> Content-Length, which never seems to match the size of the data being
>> downloaded. Even when I create a file 'x.epl' which contains just the
>> letter x, accessing through curl gives this:
>>
>> [91]> curl -i http://server:9181/x.epl
>> HTTP/1.1 200 OK
>> Date: Fri, 10 Nov 2000 18:07:15 GMT
>> Server: Apache/1.3.11 (Unix) mod_perl/1.19
>> Content-Length: 4
>> Connection: close
>> Content-Type: text/html
>>
>> x
>> curl: (18) transfer closed with 2 bytes remaining
>> [92]>
>>
>> I don't know to what extent this is causing problems, but some browsers
>> do seem to be hanging on certain pages, possibly waiting for more data
>> to be downloaded.
>>
>> Has anyone else seen this or something similar?
>>
>
>You file contains an x and a newline and Embperl appends a carridge return
>and a newline (otherwise Netscape will not display the page correctly in
>some situation), this sums up to 4. So it seems to be ok, but maybe this
>only this example. Are there any other examples where get a bigger offset?
>
>Gerald
I always get exactly the same offset - on every epl page on the server but
on no other pages. Judging by what I get when I retrieve the output by
telnet, I think maybe the carriage return & newline aren't being appended by
Embperl in my case. Is this possible? How would I test it?
Does nobody else see this for their pages using curl?
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]