From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: 307 status code handling in url-http-parse-headers Date: Mon, 01 Feb 2016 18:42:31 +0100 Message-ID: <87egcwnx88.fsf@petton.fr> References: <87oac0o64s.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1454348579 16511 80.91.229.3 (1 Feb 2016 17:42:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2016 17:42:59 +0000 (UTC) Cc: Stefan Monnier , Emacs developers To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 01 18:42:46 2016 Return-path: Envelope-to: ged-emacs-devel@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 1aQIUu-0005Cf-6t for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2016 18:42:44 +0100 Original-Received: from localhost ([::1]:53549 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQIUt-0001ut-PQ for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2016 12:42:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQIUp-0001uW-LG for emacs-devel@gnu.org; Mon, 01 Feb 2016 12:42:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQIUk-0007bg-M5 for emacs-devel@gnu.org; Mon, 01 Feb 2016 12:42:39 -0500 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:49367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQIUk-0007bV-Hj for emacs-devel@gnu.org; Mon, 01 Feb 2016 12:42:34 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 1909320CE1 for ; Mon, 1 Feb 2016 12:42:34 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Mon, 01 Feb 2016 12:42:34 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=WzKKieqIjWXL3DuEF4FCp34MpkQ=; b=fhh5O cOk/Cm0DdwCgaj7C7Bt8Lqv1PVvh6JjY0INMpwG38ZO3xgoEE5aryPfo/ow9Dl1G MhLwGriFsUf7zG/ldktW+b4AxQwEso1WA1qq38xc3ecJcdHlesaHzUwPsTkBUgrz pDXRPBgPl1GIRQj7xkdMa4r8r2NecUG26uBGP4= X-Sasl-enc: 7syvCuYVQcWD6wCIeWEcCVhLlsBStEb8kkCCO+oDOUQx 1454348553 Original-Received: from blueberry (89-156-196-194.rev.numericable.fr [89.156.196.194]) by mail.messagingengine.com (Postfix) with ESMTPA id 5E3E4C0001E; Mon, 1 Feb 2016 12:42:33 -0500 (EST) In-Reply-To: User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.3 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.28 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199130 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Yuri Khan writes: > The current version of HTTP/1.1 (RFC 7231) no longer requires > confirmation on 301, 302 or 307. It documents that some clients MAY > (but actually should not) change POST to GET on 301 and 302. It > clarifies that clients MUST NOT change the method on a 307. Thank you for the clarifications! What should we do then? The current implementation seems to just ignores the redirection, I would at least ask the user for a confirmation. Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJWr5kHAAoJECM1h6R8IHkQoyUIAKOfZMhTNcufsHlUi7OR0Nqg audCUCQ15r1oMYMqICFeM0dOcBHxnmyfnkQaYm7vYqdYjSfK34NRwIVC1Yasnb/n qgUqPdycMH7Q7JOrTGhp2hAhzlLYdgm6eN4Kj8Pz8teVA4XHhmk4o+wXf83/wtLt wbaNuM7WWX6Ml4QzB97A8qZGcBhw1CSq/+P1dRfqcyHbZ0qSPTot+a2qMnHo0yGn k00rv3uzTbnwE030/4fp/4bqEFCbvWz4hzYYOHM+r2ruze2TEnIZkFBvRcAY8gXf mhYmu2WFeXyrSqsBDXmLV5yNKP4EVTRDOS8mJurZAB8eZgVxV6qM9xjfTZJWit8= =UNfj -----END PGP SIGNATURE----- --=-=-=--