unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Jerry Asher <jerry.asher@gmail.com>
Cc: 10478@debbugs.gnu.org
Subject: bug#10478: Possible fix??
Date: Wed, 11 Jan 2012 10:42:07 +0100	[thread overview]
Message-ID: <8762gi7ez4.fsf@gmx.de> (raw)
In-Reply-To: <CAEtC88Vh1K7gr_AGFmn-NJoCj=Hhqgbc3PrQmJck99MdryXsRA@mail.gmail.com> (Jerry Asher's message of "Wed, 11 Jan 2012 00:54:15 -0700")

Jerry Asher <jerry.asher@gmail.com> writes:

Hi,

> The following, ugly, changes in url-http.el seem to work, based on
> very very very limited testing....
>
> Basically,
>
> I changed url-http-handle-authentication so that if a change of buffer
> was made, it would return the new buffer, otherwise it would return
> nil.
>
> Then in  url-http-parse-headers, I cut and pasted code for the 3XX
> redirect case that sets a flag for url-retrieve-synchronously to do
> the same thing for the  401 and 407 cases.

Maybe there is a simple solution, using `save-current-buffer'?

Best regards, Michael.





  reply	other threads:[~2012-01-11  9:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  7:03 bug#10478: 24.0.50; url-http-parse-headers can silently drop the response when handling BASIC AUTHENTICATION Jerry Asher
2012-01-11  7:54 ` bug#10478: Possible fix?? Jerry Asher
2012-01-11  9:42   ` Michael Albinus [this message]
2015-12-25 21:49 ` bug#10478: 24.0.50; url-http-parse-headers can silently drop the response when handling BASIC AUTHENTICATION Lars Ingebrigtsen
2017-06-03 10:41   ` David Engster
2017-06-03 11:04     ` Lars Ingebrigtsen
2017-06-03 11:05     ` Eli Zaretskii
2017-06-03 12:56       ` Jerry Asher
2017-06-08 20:08         ` David Engster
2019-09-24  6:55           ` Lars Ingebrigtsen
2019-09-24  7:15             ` Eli Zaretskii
2019-09-24  7:27               ` Lars Ingebrigtsen
2019-09-24  7:23             ` David Engster
2019-09-24  7:27               ` Lars Ingebrigtsen

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=8762gi7ez4.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=10478@debbugs.gnu.org \
    --cc=jerry.asher@gmail.com \
    /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).