On Thursday 24 February 2005 19:48, Phil's Yahoo wrote:
> [EMAIL PROTECTED] root]# curl -v www.anfmailorder.com/proxy/test.pl
> * About to connect() to www.anfmailorder.com:80
> * Connected to p15162004.pureserver.info (217.160.184.86) port 80
>  > GET /proxy/test.pl HTTP/1.1
> User-Agent: curl/7.9.8 (i386-redhat-linux-gnu) libcurl 7.9.8 (OpenSSL
> 0.9.7a) (ipv6 enabled)
> Host: www.anfmailorder.com
> Pragma: no-cache
> Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
the next (empty) line is the last line of the request
>
and here comes the first one of the answer. The status line ("HTTP/1.1 
200 OK" or so) is missing.
> Content-type: text/html
>
> Hello, world!
> * Closing connection #0
> [EMAIL PROTECTED] root]#
> END
>
> any ideas how to remove this extra line or how to append the header
> onto the end of the headers???

Not if you don't reveal more of your setup and test.pl.

I think, test.pl is simply printing "Content-type: text/html\n\n...". Is 
it running under mod_perl or mod_cgi? Apache::Registry? SetHandler 
modperl or perl-script? mp1 or mp2?

If mp2 this may help:
  http://perl.apache.org/docs/2.0/user/config/config.html#C_ParseHeaders_

Torsten

Attachment: pgpgQolD8OgCo.pgp
Description: PGP signature

Reply via email to