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

From: Aaron Jensen <[email-masked]>
Date: Tue, 24 Apr 2018 04:21:30 -0700

On Tue, Apr 24, 2018 at 12:19 AM, Andreas Schwab <[email-masked]> wrote:
> url-request-data is supposed to be an encoded string.

Thank you for pointing that out.

Lars, this reproduces the problem on master (but not with
4a6302330384ad89bcfccce6b563eb5462b753a9 reverted):

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