[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: URL library problem
From: |
Stefan Monnier |
Subject: |
Re: URL library problem |
Date: |
Mon, 03 Oct 2005 11:26:51 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Would the patch below do the trick?
No, it clearly wouldn't. Try this one instead.
Stefan
--- url-http.el 25 aoĆ» 2005 10:56:43 -0400 1.20
+++ url-http.el 03 oct 2005 11:26:27 -0400
@@ -198,7 +198,12 @@
;; allows us to elide null lines directly, at the cost of making
;; the layout less clear.
(setq request
- (concat
+ (mapconcat
+ ;; We'd really want here `string-to-unibyte', so as to signal an
+ ;; error if one of the strings contains a multibyte char.
+ 'string-as-unibyte
+ (delq nil
+ (list
;; The request
(or url-request-method "GET") " "
(if proxy-obj (url-recreate-url proxy-obj) real-fname)
@@ -267,6 +272,7 @@
"\r\n"
;; Any data
url-request-data))
+ ""))
(url-http-debug "Request is: \n%s" request)
request))