mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-12 14:58:26 +02:00
Added Connection: close header to HttpClient in ConnectionOut
This commit is contained in:
parent
f5cc33a717
commit
8fb54ed905
@ -144,6 +144,7 @@ public class ConnectionOut {
|
||||
|
||||
post.setHeader("Content-Type", "application/x-www-form-urlencoded");
|
||||
post.setHeader("charset", "UTF-8");
|
||||
post.setHeader("Connection", "close");
|
||||
|
||||
byte[] toSend = parameters.getBytes();
|
||||
post.setEntity(new ByteArrayEntity(toSend));
|
||||
|
Loading…
Reference in New Issue
Block a user