ICEfaces
  1. ICEfaces
  2. ICE-9256

ResourceRegistry doesn't handle ranged requests properly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: EE-3.3.0.GA
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces applications serving resources to Android container in Blackberry 10 runtime client.

      Description

      ResourceRegistry code was not handling range requests where the start offset was defined but the end range was not. A request of the form:

      GET /mobileshowcase/javax.faces.resource/92cde6b3-0177-4734-8aba-20a119e82ef7.jsf;jsessionid=5E353DF770A45C6D235D25A97D720DD6 HTTP/1.1
      Range: bytes=4832-
      User-Agent: io-media
      Host: 50.50.50.154:9090
      Accept: */*
      Icy-MetaData: 1


      Was not properly setting the response status as 206.

        Issue Links

          Activity

          Hide
          Greg Dick added a comment -

          Existing code wasn't properly interpreting the case when the endRange value was missing.

          Show
          Greg Dick added a comment - Existing code wasn't properly interpreting the case when the endRange value was missing.

            People

            • Assignee:
              Unassigned
              Reporter:
              Greg Dick
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: