We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 776c7b0 commit ed5c7b8Copy full SHA for ed5c7b8
compiler.py
@@ -18,8 +18,8 @@ def main():
18
])
19
20
js_code.close()
21
- headers = { "Content-type": "application/x-www-form-urlencoded" }
22
- conn = http.client.HTTPConnection('closure-compiler.appspot.com')
+ headers = { "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8" }
+ conn = http.client.HTTPSConnection('closure-compiler.appspot.com')
23
conn.request('POST', '/compile', params, headers)
24
response = conn.getresponse()
25
data = response.read()
0 commit comments