unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thien-Thi Nguyen <ttn@gnu.org>
To: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: url-retrieve-synchronously results differ from curl
Date: Thu, 22 Jan 2015 10:00:59 +0100	[thread overview]
Message-ID: <87iofzkx4k.fsf@zigzag.favinet> (raw)
In-Reply-To: <CAAdUY-+79PAux9=cHARsHuV=j=ZHVTPSqKvjp8dAftE=pOCOkg@mail.gmail.com> (Artur Malabarba's message of "Wed, 21 Jan 2015 23:14:56 -0200")

[-- Attachment #1: Type: text/plain, Size: 1250 bytes --]

() Artur Malabarba <bruce.connor.am@gmail.com>
() Wed, 21 Jan 2015 23:14:56 -0200

   I'll see if I can find out where this happens in url.el.
   If not, I'll just file a bug report.  IMHO, the package
   should either support both versions indiscriminately, or
   warn the user if they use the wrong version.

This is not a legitimate complaint.  HTTP specifies the
all-upcase spelling explicitly, so url.el DTRT already.
(Nod to pedants: Actually, RFC1945 sez "The method is
case-sensitive." and lists "POST" in the RHS in the
‘Method’ non-terminal production...)

If anything, a bug-report is indicated for the server side:
unrecognized method names should ellicit status code 501
(error; "not implemented").

   Even better (as Sean suggests) would be to support and
   encourage the use of symbols.

This is a separate issue, but legitimate.  Personally, i'd love
to see more symbols and fewer strings-as-symbols, all around.
(Insert rant on languages lacking a "symbol" data type, here.)

-- 
Thien-Thi Nguyen
   GPG key: 4C807502
   (if you're human and you know it)
      read my lisp: (responsep (questions 'technical)
                               (not (via 'mailing-list)))
                     => nil

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2015-01-22  9:00 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 [this message]
2015-01-21  8:01 ` Thien-Thi Nguyen
2015-01-21 14:14   ` Artur Malabarba

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=87iofzkx4k.fsf@zigzag.favinet \
    --to=ttn@gnu.org \
    --cc=help-gnu-emacs@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).