Skip to content

Conversation

@kwesterfeld
Copy link

@kwesterfeld kwesterfeld commented Feb 15, 2016

  • add handling for --auto flag

Fixes #246

' -U --utc Use UTC time format in log messages.',
'',
' -P --proxy Fallback proxy if the request cannot be resolved. e.g.: http://someurl.com',
' --auto Set proxy autoRewrite flag for proxy, handling 301/302 responses',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of changing auto to autoRewrite later, I think it would be simpler and more clear to use the option --auto-rewrite from the start instead. Otherwise I think this looks good.

@thornjad
Copy link
Member

@kwesterfeld looks like we have some merge conflicts to take a look at

@thornjad thornjad added the minor version non-breaking, non-trivial change label Dec 18, 2019
@thornjad
Copy link
Member

Given the variety of options available in http-proxy, I'm going to close this in favor of the approach of passing through options to http-proxy itself in #459, which would solve this same issue

@thornjad thornjad closed this Dec 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor version non-breaking, non-trivial change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option --auto to set proxy option autoRewrite

3 participants