mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
add user agent to http requests
This commit is contained in:
parent
101475c2f6
commit
fb3393eb3a
@ -339,6 +339,7 @@ struct http_t *net_http_new(struct http_connection_t *conn)
|
||||
net_http_send_str(fd, &error, "\r\n");
|
||||
}
|
||||
|
||||
net_http_send_str(fd, &error, "User-Agent: libretro\r\n");
|
||||
net_http_send_str(fd, &error, "Connection: close\r\n");
|
||||
net_http_send_str(fd, &error, "\r\n");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user