From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: url-retrieve-synchronously results differ from curl Date: Thu, 22 Jan 2015 10:00:59 +0100 Message-ID: <87iofzkx4k.fsf@zigzag.favinet> References: <87y4oxewcc.fsf@yahoo.fr> <87d26861z5.fsf@yahoo.fr> <566AE86E-63C5-4ED5-81F4-2619DE70069F@seanallred.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1421917350 11271 80.91.229.3 (22 Jan 2015 09:02:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2015 09:02:30 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 22 10:02:26 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YEDek-0001sm-4d for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jan 2015 10:02:26 +0100 Original-Received: from localhost ([::1]:51811 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDej-0000pq-8L for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Jan 2015 04:02:25 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59480) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDZM-0000bd-P1 for help-gnu-emacs@gnu.org; Thu, 22 Jan 2015 03:56:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YEDZH-0007al-PB for help-gnu-emacs@gnu.org; Thu, 22 Jan 2015 03:56:52 -0500 Original-Received: from smtp207.alice.it ([82.57.200.103]:33998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YEDZH-0007aX-GG for help-gnu-emacs@gnu.org; Thu, 22 Jan 2015 03:56:47 -0500 Original-Received: from zigzag.favinet (95.236.70.85) by smtp207.alice.it (8.6.060.28) id 547D8BAA0862358C for help-gnu-emacs@gnu.org; Thu, 22 Jan 2015 09:56:46 +0100 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1YEDdV-0005ta-2o for help-gnu-emacs@gnu.org; Thu, 22 Jan 2015 10:01:09 +0100 In-Reply-To: (Artur Malabarba's message of "Wed, 21 Jan 2015 23:14:56 -0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.103 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:102210 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Artur Malabarba () 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 =E2=80=98Method=E2=80=99 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.) =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) =3D> nil --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlTAvE4ACgkQZwMiJEyAdQKJQACdEYZX7nrRiT9NcXdyeVumFLm5 w/4An1A8tbenCMkX6Fkp3sZx/sn1kUR+ =8i/m -----END PGP SIGNATURE----- --=-=-=--