Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-7663

Range header not honored by APIcast when the upstream response is chunked

XMLWordPrintable

    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      When a request is sent to APIcast including the Range header, the header is not forwarded to upstream: it appears APIcast handles the response range before returning the response to the client.
      However, when the response has Transfer-Encoding: chunked, (and therefore no content-length), the Range header seems to have no effect.

      See the attachment upstream_apicast_req_resp.txtfor an example of APIcast behaving as expected.
      See the attachment upstream_apicast_req_resp_chunked.txtfor an example of APIcast not behaving as expected when the response from upstream is chunked.

        1. upstream_apicast_req_resp_chunked.txt
          4 kB
          Samuele Illuminati
        2. upstream_apicast_req_resp.txt
          4 kB
          Samuele Illuminati

              Unassigned Unassigned
              rhn-support-sillumin Samuele Illuminati (Inactive)
              Jakub Urban Jakub Urban (Inactive)
              Dani Marin Dani Marin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: