Skip to content

Commit da867cf

Browse files
author
Vadim Belov
committed
Update User-Agent to 3.0 in IpApiCoClient requests
Changed the User-Agent header from "EasyExtensions.Clients/1.0" to "EasyExtensions.Clients/3.0" in IpApiCoClient to reflect the new client library version when making requests to ipapi.co.
1 parent 560f1a3 commit da867cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/EasyExtensions.Clients/IpApiCoClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static async Task<IpApiCoResponse> LookupAsync(string ip)
8282
{
8383
DefaultRequestHeaders =
8484
{
85-
{ "User-Agent", "EasyExtensions.Clients/1.0" }
85+
{ "User-Agent", "EasyExtensions.Clients/3.0" }
8686
}
8787
};
8888
var response = await http.GetFromJsonAsync<IpApiCoResponse>(url)

0 commit comments

Comments
 (0)