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 :
@@ -518,7 +518,7 @@ def _perform_urllib_http_request(
518518 headers ["Content-Length" ] = len (body )
519519 elif args ["params" ]:
520520 body = urlencode (args ["params" ])
521- headers ["Content-Type" ] = "application/x-www-form-urlencoded;charset=utf-8 "
521+ headers ["Content-Type" ] = "application/x-www-form-urlencoded"
522522 else :
523523 body = None
524524
@@ -565,7 +565,7 @@ def _build_urllib_request_headers(
565565 ):
566566 headers = {
567567 "User-Agent" : self ._get_user_agent (),
568- "Content-Type" : "application/x-www-form-urlencoded;charset=utf-8 " ,
568+ "Content-Type" : "application/x-www-form-urlencoded" ,
569569 }
570570 headers .update (self .headers )
571571 if token :
You can’t perform that action at this time.
0 commit comments