Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@umputun
Copy link
Owner

@umputun umputun commented Mar 15, 2024

The request header now has 'X-Forwarded-URL'. This is particularly useful if we deal with a chain of reverse proxy requests and the final destination has to discover the URL that was passed in originally.

The header is Set, not Add. Most scenarios with X-Forwarded-URL I can think of, involve setting it to reflect the current request's URL, so Set is likely the appropriate choice to ensure no duplicate headers convey conflicting information.

umputun added 2 commits March 15, 2024 16:45
'X-Forwarded-URL' has been added to the request header in the proxy core to improve redirection handling.
@umputun umputun merged commit d2a4f56 into master Mar 15, 2024
@umputun umputun deleted the add-X-Forwarded-URL branch March 15, 2024 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants