Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@marcomagdy
Copy link
Contributor

Send a user-agent http header when talking to Lambda's http server.
This is important for collecting usage metrics.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

src/runtime.cpp Outdated
return size * nmemb;
}

static std::string get_user_agent_header()

Choose a reason for hiding this comment

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

You could probably return this by const reference, since it's a static?

Send a user-agent http header when talking to Lambda's http server.
This is important for collecting usage metrics.
Copy link

@petermd petermd left a comment

Choose a reason for hiding this comment

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

LGTM

@marcomagdy marcomagdy merged commit 3461d6a into master Dec 11, 2018
@marcomagdy marcomagdy deleted the useragent branch December 11, 2018 15:19
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.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.