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: 307 status code handling in url-http-parse-headers Date: Mon, 01 Feb 2016 15:30:11 +0100 Message-ID: <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 1454337053 10773 80.91.229.3 (1 Feb 2016 14:30:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Feb 2016 14:30:53 +0000 (UTC) Cc: Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 01 15:30:43 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 1aQFV4-0002YO-U4 for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2016 15:30:43 +0100 Original-Received: from localhost ([::1]:52724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQFV4-0002w0-6Y for ged-emacs-devel@m.gmane.org; Mon, 01 Feb 2016 09:30:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQFUk-0002vg-HP for emacs-devel@gnu.org; Mon, 01 Feb 2016 09:30:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQFUf-0002uU-Ia for emacs-devel@gnu.org; Mon, 01 Feb 2016 09:30:22 -0500 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:38698) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQFUf-0002uP-DS for emacs-devel@gnu.org; Mon, 01 Feb 2016 09:30:17 -0500 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id DAE672358B for ; Mon, 1 Feb 2016 09:30:16 -0500 (EST) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 01 Feb 2016 09:30:16 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=FX X7n9rH9vkAUEZxALJZm+1j4ys=; b=kEtf+77y+mvi59h7P2zozbCbo0yLkvYYFG hchCgjFHWopc/ksFteBebpMZLEz3ELpyIMDKzW5qonqDeF6gudxBFRB10Boa8ItT CeENUs/R8+JPhkajNFHYBsC0rPgilNpmLOZom+Ty+LPyu6j7IRSdI9yVT9V+3olU Z5F+sYHe8= X-Sasl-enc: Z+2kuVl5Y3HserKkrkTlQPkdGBYd1WKz3whiM1Hm1Ay/ 1454337016 Original-Received: from blueberry (89-156-196-194.rev.numericable.fr [89.156.196.194]) by mail.messagingengine.com (Postfix) with ESMTPA id 36E506800B9; Mon, 1 Feb 2016 09:30:16 -0500 (EST) 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.29 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:199119 Archived-At: --=-=-= Content-Type: text/plain Hi, I see that `url-http-parse-headers' won't redirect a 307 response for a POST request. There's a comment about 301/302 status codes, which says that for other requests than HEAD and GET, the user agent must not automatically redirect, which seems to follow the RFC. However, should we ask the user confirmation for the redirection and do the redirect depending on the user's choice? Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJWr2vzAAoJECM1h6R8IHkQDSQIAMFG1sLLzZ1wzr/xo353wToa LsnxWJUW6vN4x6NF1nf7wIgcF+a1EFpuiKaHNvluHSU5aUr4phyCF8h0mM0MKsui PPZU7IZqi1OQyI7Ot8LtTxCh2vPnIWdPvjJ6197Pz/p9WcCY8uKJwVMp1DvV6VEW sIo2fTEuz7ygP4MXyCP2NdB36+D4Vh7ENa99xwfqTvJ2V0tiHybXYgRRnQJThdal 9WsCbvA0gqsZEmocMOtPZ4XDUwc2lYbDUhSB+pwwvyQ5DUKP7U4NUoVipoAB9/lq /BB5LvfDo82Edljr5GfGP2u4dQhnLj40kvFBsBJ2kTb4Yrh1Xl2lu05HN3glqfs= =hDsi -----END PGP SIGNATURE----- --=-=-=--