bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31248: 27.0.50; Regression: Multibyte text in HTTP request


From: Aaron Jensen
Subject: bug#31248: 27.0.50; Regression: Multibyte text in HTTP request
Date: Tue, 24 Apr 2018 05:10:10 -0700

On Tue, Apr 24, 2018 at 5:06 AM, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> And this made the entire request string multibyte.

Hm, that's odd. What does that have to do with the url-request-data w/
the emoji? If I change that to just an "x" then it won't fail in the
same way:

(let ((url "http://requestbin.fullcontact.com/1kkmrpx1";)
      (url-request-method "POST")
      (url-request-data (encode-coding-string "x" 'utf-8))
      (url-request-extra-headers '(("Content-Type" . "application/json")))
      (url-http-proxy nil))
  (url-retrieve url (lambda (_))))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]