fix net/request

This commit is contained in:
aliveoutside
2022-06-22 01:18:00 +03:00
parent ab66804d87
commit ec40c99c95
@@ -46,7 +46,7 @@ public class Request {
httpURLConnection.setRequestProperty("Token", getUserToken());
}
if (!mIsVTostersRequest) {
httpURLConnection.setRequestProperty("User-Agent", Network.a.a().a());
httpURLConnection.setRequestProperty("User-Agent", Network.l.c().a());
}
httpURLConnection.setRequestProperty("Content-Type", mIsVTostersRequest ? "Content-Type" : "application/x-www-form-urlencoded");