Добавлен URL-адрес на репозитории в User-Agent.
This commit is contained in:
parent
e7ff8f1346
commit
ad2453f97d
1 changed files with 2 additions and 1 deletions
|
|
@ -32,9 +32,10 @@ namespace Intersvyaz.Net
|
|||
BaseAddress = API_URI,
|
||||
};
|
||||
|
||||
// TODO: Добавить здесь ссылку на репозитории.
|
||||
_httpClient.DefaultRequestHeaders.UserAgent.Add(
|
||||
new ProductInfoHeaderValue("Intersvyaz.Net", "1.0"));
|
||||
_httpClient.DefaultRequestHeaders.UserAgent.Add(
|
||||
new ProductInfoHeaderValue("(+https://github.com/synzr/intersvyaz)"));
|
||||
}
|
||||
|
||||
public IntersvyazClient(string token) : base()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue