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

Proposal: Set User-Agent: for all HTTP requests to identify FaaS-CLI #166

Closed
alexellis opened this issue Oct 14, 2017 · 5 comments
Closed

Comments

@alexellis
Copy link
Member

Proposal: Set User-Agent: for all HTTP requests to identify FaaS-CLI

Expected Behaviour

FaaS-CLI should identify itself through a standard HTTP header.

Current Behaviour

Go-http-client/2.0

Possible Solution

Add headers via Golang calls. See PR in motion #165

@Lewiscowles1986
Copy link
Contributor

got it, thanks @alexellis should I base off of your PR or master?

@alexellis
Copy link
Member Author

My PR I'd say - you will need the changes I believe.

@Lewiscowles1986
Copy link
Contributor

I'm thinking that I can relocate version to it's own package (it's already injected on build for command version)

I'm not that great at go, but I think I'm nearly ready

@Lewiscowles1986
Copy link
Contributor

okay I'm sure it's ready. I'll rebase against yours and merge once complete 👍

@alexellis
Copy link
Member Author

Completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants