File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ def _get_headers(
8787 """
8888 final_headers = {
8989 "User-Agent" : self ._get_user_agent (),
90- "Content-Type" : "application/x-www-form-urlencoded;charset=utf-8 " ,
90+ "Content-Type" : "application/x-www-form-urlencoded" ,
9191 }
9292
9393 if self .token :
@@ -505,7 +505,7 @@ def _perform_urllib_http_request(
505505 headers ["Content-Length" ] = len (body )
506506 elif args ["params" ]:
507507 body = urlencode (args ["params" ])
508- headers ["Content-Type" ] = "application/x-www-form-urlencoded;charset=utf-8 "
508+ headers ["Content-Type" ] = "application/x-www-form-urlencoded"
509509 else :
510510 body = None
511511
@@ -552,7 +552,7 @@ def _build_urllib_request_headers(
552552 ):
553553 headers = {
554554 "User-Agent" : self ._get_user_agent (),
555- "Content-Type" : "application/x-www-form-urlencoded;charset=utf-8 " ,
555+ "Content-Type" : "application/x-www-form-urlencoded" ,
556556 }
557557 headers .update (self .headers )
558558 if token :
You can’t perform that action at this time.
0 commit comments