unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: 31248@debbugs.gnu.org, Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#31248: 27.0.50; Regression: Multibyte text in HTTP request
Date: Tue, 24 Apr 2018 04:21:30 -0700	[thread overview]
Message-ID: <CAHyO48x47XuA6VDH-+oBT1_-BCiwZ=5fSuiBj_z9beUUERhB4g@mail.gmail.com> (raw)
In-Reply-To: <87tvs1f4w6.fsf@linux-m68k.org>

On Tue, Apr 24, 2018 at 12:19 AM, Andreas Schwab <schwab@linux-m68k.org> 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 (_))))





  reply	other threads:[~2018-04-24 11:21 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 16:20 bug#31248: 27.0.50; Regression: Multibyte text in HTTP request Aaron Jensen
2018-04-23 17:04 ` Lars Ingebrigtsen
2018-04-23 17:14   ` Aaron Jensen
2018-04-23 18:55     ` Lars Ingebrigtsen
2018-04-23 19:00       ` Aaron Jensen
2018-04-23 19:14         ` Lars Ingebrigtsen
2018-04-23 19:39           ` Aaron Jensen
2018-04-23 19:42             ` Lars Ingebrigtsen
2018-04-23 19:47               ` Aaron Jensen
2018-04-23 19:54                 ` Lars Ingebrigtsen
2018-04-24  0:47                   ` Aaron Jensen
2018-04-24  7:19                     ` Andreas Schwab
2018-04-24 11:21                       ` Aaron Jensen [this message]
2018-04-24 11:54                         ` Lars Ingebrigtsen
2018-04-24 12:06                         ` Lars Ingebrigtsen
2018-04-24 12:10                           ` Aaron Jensen
2018-04-24 12:17                             ` Lars Ingebrigtsen
2018-04-24 12:23                               ` Lars Ingebrigtsen
2018-04-24 12:31                                 ` Aaron Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHyO48x47XuA6VDH-+oBT1_-BCiwZ=5fSuiBj_z9beUUERhB4g@mail.gmail.com' \
    --to=aaronjensen@gmail.com \
    --cc=31248@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    --cc=schwab@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).