Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-5653

RestTemplate handles redirects incorrectly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0 M3
    • Component/s: Web
    • Labels:
      None
    • Last commented by a User:
      false

      Description

      If I send a redirect (302 or 303) back the RestTemplate it will follow the redirect but the method of the redirected request is not GET. Instead, it is the method of the request that led to the redirect, in my case PUT and DELETE.

        Attachments

          Activity

            People

            • Assignee:
              arjen.poutsma Arjen Poutsma
              Reporter:
              robh Rob Harrop
              Last updater:
              Juergen Hoeller
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                1 year, 13 weeks, 4 days ago