Spring for Android
  1. Spring for Android
  2. ANDROID-57

Cannot extract response: no Content-Type found exception by HTTP status 304 - Not modified

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0.M4
    • Fix Version/s: 1.0.0.RC1
    • Component/s: rest-template
    • Labels:
      None

      Description

      I set the HTTP header "If-Modified-Since" to minimize the traffic. If the server response with 304, I get the exception "Cannot extract response: no Content-Type found". I think, the RestTemplate should return in this case only the HTTP status code without body.

        Activity

        Hide
        Roy Clarkson added a comment -

        Resolved in Spring Framework 3.1. See SPR-7911 for more details. This fix has been merged into Spring Android.

        Show
        Roy Clarkson added a comment - Resolved in Spring Framework 3.1. See SPR-7911 for more details. This fix has been merged into Spring Android.

          People

          • Assignee:
            Roy Clarkson
            Reporter:
            Fraefel Michael
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: