LwHttp: provide user-agent in header
This commit is contained in:
parent
833f49eb35
commit
3c133af4df
@ -92,6 +92,7 @@ public class LwHttp {
|
||||
REQUEST_GET_START = ("GET " + path).getBytes();
|
||||
|
||||
REQUEST_GET_END = (extension + " HTTP/1.1" +
|
||||
"\nUser-Agent: vtm/0.5.9" +
|
||||
"\nHost: " + host +
|
||||
"\nConnection: Keep-Alive" +
|
||||
"\n\n").getBytes();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user