LwHttp: provide user-agent in header

This commit is contained in:
Hannes Janetzek 2014-01-25 21:32:57 +01:00
parent 833f49eb35
commit 3c133af4df

View File

@ -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();