1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-11-10 11:59:59 +00:00

Merge pull request #399 from SquidDev-CC/hotfix/http-encoding

Fix setting an invalid content-encoding header
This commit is contained in:
Daniel Ratcliffe 2017-09-10 00:28:39 +01:00 committed by GitHub
commit 88b1124204

View File

@ -141,7 +141,6 @@ public class HTTPRequest implements HTTPTask.IHTTPTask
if( m_postText != null )
{
connection.setRequestProperty( "content-type", "application/x-www-form-urlencoded; charset=utf-8" );
connection.setRequestProperty( "content-encoding", "UTF-8" );
}
if( m_headers != null )
{