mirror of
https://github.com/golang/go
synced 2024-11-13 18:00:30 -07:00
misc/emacs: send correct content-length to the playground
R=adonovan CC=golang-dev https://golang.org/cl/14548049
This commit is contained in:
parent
47bb44fd5b
commit
950c284b11
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user