Commit 950c284b authored by Dominik Honnef's avatar Dominik Honnef Committed by Alan Donovan

misc/emacs: send correct content-length to the playground

R=adonovan
CC=golang-dev
https://golang.org/cl/14548049
parent 47bb44fd
......@@ -774,7 +774,10 @@ link in the kill ring."
(let* ((url-request-method "POST")
(url-request-extra-headers
'(("Content-Type" . "application/x-www-form-urlencoded")))
(url-request-data (buffer-substring-no-properties start end))
(url-request-data
(encode-coding-string
(buffer-substring-no-properties start end)
'utf-8))
(content-buf (url-retrieve
"http://play.golang.org/share"
(lambda (arg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment