unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Diane Murray <disumu@x3y2z1.net>
Subject: URL not following some 302 redirects after recent changes
Date: Wed, 22 Nov 2006 03:35:17 +0100	[thread overview]
Message-ID: <871wnw2opm.fsf@x3y2z1.net> (raw)

Sometime after 2006-10-26 URL redirects stopped working correctly
(Emacs CVS of 2006-09-19 and 2006-10-26 works, 2006-10-31 and
2006-11-19 don't work), perhaps due to changes made in revision 1.36
of url-http.el.

For example, <http://www.cliki.net/cliki> returns the following
headers, but `url-retrieve' runs the callback function instead of
first retrieving the new location:

HTTP/1.0 302 Redirected
Date: Fri, 17 Nov 2006 17:50:59 GMT
Server: Araneida/0.84
Connection: close
Content-Type: text/html
Last-Modified: Fri, 17 Nov 2006 17:50:59 GMT
Location: http://www.cliki.net/CLiki
Pragma: no-cache
Expires: Fri, 30 Oct 1998 14:19:41 GMT

The above-mentioned working versions retrieve the redirected URL
correctly.

             reply	other threads:[~2006-11-22  2:35 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-22  2:35 Diane Murray [this message]
2007-01-20 21:30 ` URL not following some 302 redirects after recent changes Chong Yidong
2007-01-22  6:04   ` Richard Stallman
2007-01-22 15:02     ` Stefan Monnier
2007-01-23  2:07       ` Richard Stallman
2007-01-24 16:05   ` Stefan Monnier
2007-02-12  1:37   ` T. V. Raman
2007-01-31 13:44 ` Diane Murray
2007-02-01  0:21   ` Chong Yidong
2007-02-02 11:26     ` Richard Stallman
2007-02-02 15:37       ` Stefan Monnier
2007-02-02 15:45         ` David Kastrup
2007-02-03 11:19           ` Richard Stallman
2007-02-03 11:42             ` David Kastrup
2007-02-03 11:19         ` Richard Stallman
2007-02-02 17:09       ` Chong Yidong
2007-02-03 11:19         ` Richard Stallman
2007-02-22  1:38         ` Kim F. Storm
2007-02-22  1:43           ` Chong Yidong
2007-02-22  9:26             ` Kim F. Storm

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=871wnw2opm.fsf@x3y2z1.net \
    --to=disumu@x3y2z1.net \
    /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.
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).