dlwldnjs1009 commented on issue #6080:
URL: https://github.com/apache/jmeter/issues/6080#issuecomment-4071716800

   Hello, I ran into this issue as well and put together a PR that addresses 
it: #6658
   
     It builds on the original patch with a few adjustments:
   
     - 308 is also handled (RFC 7538 §3 has the same method preservation 
requirement)
     - the call site in `followRedirects()` uses `lastRes.getResponseCode()` 
instead
     of `res.getResponseCode()`, which matters for mixed redirect chains like 
307 →
     301
     - added WireMock-based tests covering method preservation for all redirect 
codes
      and a multi-hop chain scenario
   
     Happy to adjust anything if needed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to