mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-05 10:20:23 +01: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("Content-Type", "application/x-www-form-urlencoded");
|
||||||
post.setHeader("charset", "UTF-8");
|
post.setHeader("charset", "UTF-8");
|
||||||
|
post.setHeader("Connection", "close");
|
||||||
|
|
||||||
byte[] toSend = parameters.getBytes();
|
byte[] toSend = parameters.getBytes();
|
||||||
post.setEntity(new ByteArrayEntity(toSend));
|
post.setEntity(new ByteArrayEntity(toSend));
|
||||||
|
Loading…
Reference in New Issue
Block a user