mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-26 12:43:13 +00:00
Fix setting an invalid content-encoding header
This commit is contained in:
parent
579f7443a8
commit
26bca2e109
@ -141,7 +141,6 @@ public class HTTPRequest implements HTTPTask.IHTTPTask
|
|||||||
if( m_postText != null )
|
if( m_postText != null )
|
||||||
{
|
{
|
||||||
connection.setRequestProperty( "content-type", "application/x-www-form-urlencoded; charset=utf-8" );
|
connection.setRequestProperty( "content-type", "application/x-www-form-urlencoded; charset=utf-8" );
|
||||||
connection.setRequestProperty( "content-encoding", "UTF-8" );
|
|
||||||
}
|
}
|
||||||
if( m_headers != null )
|
if( m_headers != null )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user