[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tiny changes to url-cookie.el
From: |
Klaus Straubinger |
Subject: |
Re: tiny changes to url-cookie.el |
Date: |
Tue, 28 Jun 2005 09:25:10 +0200 (CEST) |
Thank you for applying my suggested changes so quickly.
Unfortunately, after this change URL retrievals over a proxy are no
longer possible.
url-http-create-request has to create a full URL for "GET" if the
connection is over a proxy. Therefore, something like the following
change has to be done:
--- url-http.el~ 2005-06-28 08:37:34.000000000 +0200
+++ url-http.el 2005-06-28 08:53:50.938624800 +0200
@@ -199,7 +199,9 @@
(setq request
(concat
;; The request
- (or url-request-method "GET") " " real-fname " HTTP/"
url-http-version "\r\n"
+ (or url-request-method "GET") " "
+ (if proxy-obj (url-recreate-url proxy-obj) real-fname)
+ " HTTP/" url-http-version "\r\n"
;; Version of MIME we speak
"MIME-Version: 1.0\r\n"
;; (maybe) Try to keep the connection open
I am really sorry for such bad testing on my side.
--
Klaus Straubinger