Traffic Server
  1. Traffic Server
  2. TS-1265

Bad range requests still yields 206 responses

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.4
    • Component/s: HTTP
    • Labels:
      None

      Description

      If you send a request like e.g.

      Range: byte=90000-

      (note byte and not bytes), it should really give a 406 response code, but it seems to give a 206 instead, with a 1 byte length response body (Content-Length: 1).

        Activity

        Hide
        Alan M. Carroll added a comment -

        Commit b57523bdbb1e45a88d2e4ee78ba4f1649a116039

        Updated logic for checking validity of ranges.

        Show
        Alan M. Carroll added a comment - Commit b57523bdbb1e45a88d2e4ee78ba4f1649a116039 Updated logic for checking validity of ranges.

          People

          • Assignee:
            Alan M. Carroll
            Reporter:
            Leif Hedstrom
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development