On 07/05/2011 04:46 PM, T Savarkar wrote:
Hi experts,

I am using ATS as a forward proxy, and it introduces extraneous header fields in the request to the origin server (indicated in blue). How can I remove these added header fields - Are there any configuration settings, or do I need a plugin?

Client Request to ATS:

GET http://www.example.com/resource HTTP/1.1
User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
Host: www.example.com
Accept: */*
Date: Sun, 03 Jul 2011 07:33:08 +0000
Authorization: 13KARDJZ8MWFDK94JPG2:mPj+6mU305Pqo3kh6lYSPPD6Hnc=


Request from ATS to Origin Server:

GET /resource HTTP/1.1

User-Agent: curl/7.19.7 (i486-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
Host: www.example.com

Accept: */*
Date: Sun, 03 Jul 2011 07:33:08 +0000
Authorization: 13KARDJZ8MWFDK94JPG2:mPj+6mU305Pqo3kh6lYSPPD6Hnc=
Client-ip: 127.0.0.1

Disabled with

    CONFIG proxy.config.http.anonymize_insert_client_ip INT 0


X-Forwarded-For: 127.0.0.1

Disabled with

    CONFIG proxy.config.http.insert_squid_x_forwarded_for INT 0

Via: http/1.1 ubuntu1[7F000101] (ApacheTrafficServer/2.1.8-unstable [uScM])

Disabled with

    CONFIG proxy.config.http.insert_request_via_str INT 0


-- Leif