unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 307 status code handling in url-http-parse-headers
@ 2016-02-01 14:30 Nicolas Petton
  2016-02-01 14:54 ` Alexis
  2016-02-01 17:01 ` Yuri Khan
  0 siblings, 2 replies; 12+ messages in thread
From: Nicolas Petton @ 2016-02-01 14:30 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Monnier

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

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

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-02-04 17:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-01 14:30 307 status code handling in url-http-parse-headers Nicolas Petton
2016-02-01 14:54 ` Alexis
2016-02-01 15:01   ` Nicolas Petton
2016-02-01 17:01 ` Yuri Khan
2016-02-01 17:42   ` Nicolas Petton
2016-02-01 18:08     ` Yuri Khan
2016-02-02 22:28       ` Nicolas Petton
2016-02-03  0:27         ` Lars Ingebrigtsen
2016-02-03  8:49           ` Nicolas Petton
2016-02-03  9:24             ` Lars Ingebrigtsen
2016-02-03 10:27               ` Nicolas Petton
2016-02-04 17:00               ` Nicolas Petton

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).