[squid-users] How to configure Squid to behave like Netscape-Proxy?

From: Simon Liu <[email protected]>
Date: Mon, 7 Mar 2005 15:17:24 +0000

Hi,

My application accesses a Shoutcast server which does not return HTTP
headers, but instead returns its own custom headers, followed by
binary data.

Some users are have reported that when behind a Netscape Proxy, the
proxy inserts its own HTTP response header, before the server's actual
response. I am not sure but I guess the proxy detects that the
server's reponse is missing a HTTP response, so it constructs one.

I would like to know if it is possible to configure Squid to behave
like the Netscape Proxy, and insert a HTTP response header. That way,
I can do local testing to ensure my app handles this situation.

Thanks. Any advice appreciated.
--Simon

GET http://64.62.149.130:8000/ HTTP/1.1
Host: 64.62.149.130:8000
Accept: */*
Icy-MetaData: 1
User-Agent: iTunes/4.5
Pragma: no-cache

******** Netscape Proxy *********
HTTP/1.0 200 Ok
Proxy-agent: Netscape-Proxy/3.51
Date: Wednesday, 02-Mar-05 23:10:51 GMT
Content-type: audio/mpeg
Via: 1.1 S1PS
******** End Netscape Proxy *********

ICY 200 OK
icy-notice1...
...
...
Received on Mon Mar 07 2005 - 08:17:26 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:01 MST