> 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))
 


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to