这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@javuto
Copy link
Collaborator

@javuto javuto commented Feb 24, 2020

Overview

Using custom User Agent for the HTTP requests sent with osctrl. Since osctrl uses the native net/http, the User Agent is Go-http-client/1.1 as you can see in https://golang.org/src/net/http/request.go

This PR changes the default User Agent for osctrl-http-client/1.1.

@javuto javuto added the ✨ enhancement New feature or request label Feb 24, 2020
@javuto javuto added this to the v0.2.0 milestone Feb 24, 2020
@javuto javuto self-assigned this Feb 24, 2020
@javuto javuto merged commit 391e56a into master Feb 24, 2020
@javuto javuto deleted the custom-ua branch February 24, 2020 17:35
@javuto javuto mentioned this pull request Feb 25, 2020
CptOfEvilMinions added a commit that referenced this pull request Dec 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants