Skip to content

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

@Terbiy

Description

@Terbiy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions