add user agent to http requests

This commit is contained in:
Brad Parker 2017-03-02 23:58:37 -05:00
parent 101475c2f6
commit fb3393eb3a

View File

@ -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, "\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, "Connection: close\r\n");
net_http_send_str(fd, &error, "\r\n"); net_http_send_str(fd, &error, "\r\n");