portl4t created TS-2166: --------------------------- Summary: Response header to ua has two "Content-Range" field Key: TS-2166 URL: https://issues.apache.org/jira/browse/TS-2166 Project: Traffic Server Issue Type: Bug Components: HTTP Reporter: portl4t
Follow these steps to reproduce: 1. TrafficServer cache a document which has "Etag" field in response header 2. The document expires. 3. UA sends request with "Range" field to this document. 4. TrafficServer sends request with IMS field to origin server to revalidate this document 5. Origin Server sends response which has 304 code and "Content-Range" field to TrafficServer 6. TrafficServer will generate another "Content-Range" field in RangeTransform. HTTP/1.1 206 Partial Content Date: Thu, 29 Aug 2013 03:09:05 GMT Content-Type: application/octet-stream Cache-Control: public Content-Disposition: attachment; Content-Encoding: utf-8 ETag: "F68ADB16DB4F1EF87D93D665CC1FFF54" Expires: Tue,13 August 2013 07:04:10 GMT Last-Modified: Tue, 13 Aug 2013 07:04:14 GMT Server: ATS/3.2.0 x-oss-request-id: 521EBB51E369AA445D2F48B9 Accept-Ranges: bytes Content-Range: bytes 0-4243537/4243538 Content-Range: bytes 0-4243537/4243538 Content-Length: 4243538 Age: 0 Via: http/1.1 l2cn202 (ATS [cSsNfU]) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira