Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133976

Proper handling of GET request with body in case of chained redirections

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.10
    • Network: HTTP
    • None

       
      QTBUG-112871 has introduced GET requests with body. However, in case of chained redirections the current implementation is incorrect.

       

      For example, in case of a 301 (moved permanently) we are clearing both the body and the headers. If this is followed by a 308 (permanent redirect) the headers are reconstructed from the original request, but the body is not. This is wrong, the headers and the body should be kept in sync. Specifically, after we have cleared the body and headers we should never restore them.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            manordheim Mårten Nordheim
            mate Máté Barany
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes