unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: jerry.asher@gmail.com, deng@randomsample.de, 10478@debbugs.gnu.org
Subject: bug#10478: 24.0.50; url-http-parse-headers can silently drop the response when handling BASIC AUTHENTICATION
Date: Tue, 24 Sep 2019 10:15:26 +0300	[thread overview]
Message-ID: <83zhiunp0x.fsf@gnu.org> (raw)
In-Reply-To: <87sgom2ng1.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue,  24 Sep 2019 08:55:10 +0200)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Jerry Asher <jerry.asher@gmail.com>,  Eli Zaretskii <eliz@gnu.org>,
>   10478@debbugs.gnu.org
> Date: Tue, 24 Sep 2019 08:55:10 +0200
> 
> (pop-to-buffer (url-retrieve-synchronously "https://jigsaw.w3.org/HTTP/Basic/"))
> 
> the user name/password is guest/guest.  I'm prompted for that, and the
> buffer I'm popped to is the "your browser made it" buffer, so it seems
> to work for me?
> 
> Does it work for you, too?

Seems to work.  I end up in a buffer named " *http jigsaw.w3.org:443*-264606"
(the minus seems weird, perhaps an unrelated misfeature), whose
contents is the entire response from the server, starting with

  HTTP/1.1 200 OK
  date: Tue, 24 Sep 2019 07:11:23 GMT
  content-length: 458
  content-location: https://jigsaw.w3.org/HTTP/Basic/ok.html
  content-type: text/html
  etag: "1lkdfte:qoguo8q8"
  last-modified: Sun, 25 Jun 2000 17:08:58 GMT
  server: Jigsaw/2.3.0-beta3

and ending with this:

  <P>
  <HR>
  <P>Your browser made it!
    </body>
  </html>

Is this what you see?





  reply	other threads:[~2019-09-24  7:15 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
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 [this message]
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=83zhiunp0x.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=10478@debbugs.gnu.org \
    --cc=deng@randomsample.de \
    --cc=jerry.asher@gmail.com \
    --cc=larsi@gnus.org \
    /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).