Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not follow Location header when followlocation option is set to false #405

Merged
merged 2 commits into from
May 6, 2021

Conversation

dimameshcharakou
Copy link
Contributor

@dimameshcharakou dimameshcharakou commented May 5, 2021

Description

We already use followlocation option in lhc when we want to follow the redirects: https://github.com/local-ch/lhc/blob/master/README.md#follow-redirects
This PR adds the changes that lhs takes into account this option when it's going to follow the Location header in the response.
Only minor release since the default behaviour hasn't changed.

@dimameshcharakou dimameshcharakou merged commit 2434b35 into master May 6, 2021
@dimameshcharakou dimameshcharakou deleted the follow-location branch May 6, 2021 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants