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

[C#] add httpUserAgent option, add configurable user-agent support to C# #2371

Merged
merged 1 commit into from
Mar 14, 2016

Conversation

wing328
Copy link
Contributor

@wing328 wing328 commented Mar 13, 2016

Tested on both Windows and Mac. All test cases passed.

We'll roll out the feature (configurable user-agent) to other language one by one.

The feature is broken at the moment due to RestSharp: restsharp/RestSharp#787

(for #2367)

@wing328 wing328 added this to the v2.1.6 milestone Mar 13, 2016
wing328 added a commit that referenced this pull request Mar 14, 2016
[C#] add httpUserAgent option, add configurable user-agent support to C#
@wing328 wing328 merged commit 84564ae into swagger-api:master Mar 14, 2016
@wing328
Copy link
Contributor Author

wing328 commented Mar 15, 2016

I was wrong about setting user agent in RestSharp, which can be done via RestClient.UserAgent.

I've submitted #2376 to fix that.

@wing328 wing328 deleted the csharp_user_agent branch March 15, 2016 16:06
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.

1 participant