Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2166

Response header to ua has two "Content-Range" field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.4, 4.2.0
    • 7.2.0
    • HTTP
    • None

    Description

      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])
      

      Attachments

        Issue Links

          Activity

            People

              amc Alan M. Carroll
              portl4t portl4t
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: