unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Christoph Scholtes <cschol2112@gmail.com>
To: 12636@debbugs.gnu.org
Subject: bug#12636: 24.2.50; url-retrieve does not work as expected via local proxy server
Date: Sat, 13 Oct 2012 10:08:28 -0600	[thread overview]
Message-ID: <507991FC.6050509@gmail.com> (raw)

I use the privoxy proxy on Ubuntu 12.04. For testing, Ubuntu is proxy
settings are globally configured for https on 127.0.0.1 port
8118 only. The http_proxy env variable reflects this correctly. privoxy is
started and running. I confirmed that I go through the proxy with a
browser pointed to a https website.

emacs -Q

Evaluate the following in scratch:
(require 'url)
(pop-to-buffer (url-retrieve-syhronously 
"https://raw.github.com/dimitri/el-get/master/el-get-install.el"))

Minibuffer says "Contacting host: 127.0.0.1:8118". After about a minute
or so a buffer named *http 127.0.0.1:8118*-10921 [no process] pops up
that contains the following:

HTTP/1.1 200 Connection established
Proxy-Agent: Privoxy/3.0.19

Then nothing happens. I was expecting see to the content of the page.
If I use url-retrieve with a http url it works and displays the content
retrieved from the url in the buffer.


In GNU Emacs 24.2.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
of 2012-10-13 on marvin
Bzr revision: 110535 handa@gnu.org-20121013131201-t5ew0zzamm7k5ct4
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description: Ubuntu 12.04.1 LTS

Configured using:
`configure 'CC=clang''






             reply	other threads:[~2012-10-13 16:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-13 16:08 Christoph Scholtes [this message]
2015-12-25 21:27 ` bug#12636: 24.2.50; url-retrieve does not work as expected via local proxy server Lars Ingebrigtsen
2015-12-25 21:51   ` Andreas Schwab

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=507991FC.6050509@gmail.com \
    --to=cschol2112@gmail.com \
    --cc=12636@debbugs.gnu.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).