We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This may be error, user_agent versus user-agent (_ versus -) but surprising behavior with header sent.
user_agent
user-agent
_
-
Want to override user agent
postlight-parse http://localhost:8000/test_postlight.html --header.user_agent=my_user_agent
This appends the value my_user_agent to the end of the built in user agent with a comma. I.e. appends, ,my_user_agent
my_user_agent
,my_user_agent
postlight-parse http://localhost:8000/test_postlight.html --header.user-agent=my_user_agent
does replace the user agent correctly BUT also sends HTTP_USERAGENT
HTTP_USERAGENT
Worth a doc note, unclear if this is a bug but the behavior is surprising.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This may be error,
user_agent
versususer-agent
(_
versus-
) but surprising behavior with header sent.Expected Behavior
Want to override user agent
Current Behavior
This appends the value
my_user_agent
to the end of the built in user agent with a comma. I.e. appends,,my_user_agent
does replace the user agent correctly BUT also sends
HTTP_USERAGENT
Steps to Reproduce
Detailed Description
Possible Solution
Worth a doc note, unclear if this is a bug but the behavior is surprising.
The text was updated successfully, but these errors were encountered: