Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1946

Support relatively new HTTP 308 redirect - RFC7538

    XMLWordPrintableJSON

    Details

      Description

      RFC7538 added a new HTTP redirect code: 308.

       

      To support it all you need is adding 2 rows:

      1. In HttpStatus add constant: SC_PERMANENT_REDIRECT = 308
      2. In HttpMethodDirector.isRedirectNeeded() (in version 3.x) add SC_PERMANENT_REDIRECT to the switch clause.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              davidpel David Peleg
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: