clj-http icon indicating copy to clipboard operation
clj-http copied to clipboard

The :redirect-strategy doesn't seem to work for PUT and PATCH HTTP methods

Open Terbiy opened this issue 2 years ago • 0 comments

In my project, I use the Slash handler provided by Reitit library to remove the trailing / of any URL. This works with the help of HTTP 308 redirect. When trying to do the request using the PATCH HTTP method, I discovered that the :redirect-strategy setting is ignored. I receive the same request result with 308 status as if there was no redirect strategy set. The same happens for the PUT request. However, POST request to the very same address is handled correctly.

Terbiy avatar Nov 22 '23 18:11 Terbiy