unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Thien-Thi Nguyen <ttn@gnu.org>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: url-retrieve-synchronously results differ from curl
Date: Wed, 21 Jan 2015 12:14:53 -0200	[thread overview]
Message-ID: <CAAdUY-+sHrxLhRLQKivJgNLEKfzEUAifLzcvEkgGVKMpDYiagw@mail.gmail.com> (raw)
In-Reply-To: <871tmomuja.fsf@zigzag.favinet>

>
>                (url-request-method "post")
>
> IIRC, HTTP specifies the spelling as "POST" (all upcase).
>

Oh god. This actually works! It fixes the bug.

Why the hell would it work 50% with lower case method?! I mean, the posting
succeeds anyway, only the return value is kind of off.

I'll do some more testing later, but this does seem to be the culprit.
Thanks a lot, Thien.


      reply	other threads:[~2015-01-21 14:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-20  2:28 url-retrieve-synchronously results differ from curl Artur Malabarba
2015-01-20  7:37 ` Nicolas Richard
2015-01-20 15:35   ` Artur Malabarba
2015-01-21  7:13     ` Nicolas Richard
2015-01-21 13:14       ` Artur Malabarba
2015-01-21 13:42         ` Nicolas Richard
2015-01-21 14:27       ` Sean Allred
2015-01-21 16:29         ` Thien-Thi Nguyen
2015-01-22  1:14         ` Artur Malabarba
2015-01-22  2:41           ` Artur Malabarba
2015-01-22  9:00           ` Thien-Thi Nguyen
2015-01-21  8:01 ` Thien-Thi Nguyen
2015-01-21 14:14   ` Artur Malabarba [this message]

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=CAAdUY-+sHrxLhRLQKivJgNLEKfzEUAifLzcvEkgGVKMpDYiagw@mail.gmail.com \
    --to=bruce.connor.am@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ttn@gnu.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.
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).