Uploaded image for project: '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
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: