[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16220: url-http.el: Not conforming to HTTP spec
From: |
Stefan Monnier |
Subject: |
bug#16220: url-http.el: Not conforming to HTTP spec |
Date: |
Wed, 08 Jan 2014 13:29:54 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> Is there any chance my patch gets committed or at least that the extra
> "\r\n" finally gets removed?
I installed the patch below.
Thank you very much,
Stefan
=== modified file 'lisp/url/ChangeLog'
--- lisp/url/ChangeLog 2014-01-01 07:43:34 +0000
+++ lisp/url/ChangeLog 2014-01-08 18:05:12 +0000
@@ -1,3 +1,8 @@
+2014-01-08 Jarosław Rzeszótko <sztywny@gmail.com>
+
+ * url-http.el (url-http-create-request): Don't add extra \r\n after
+ http data (bug#16220).
+
2013-12-28 Glenn Morris <rgm@gnu.org>
* url-history.el (url-history-track):
=== modified file 'lisp/url/url-http.el'
--- lisp/url/url-http.el 2014-01-01 07:43:34 +0000
+++ lisp/url/url-http.el 2014-01-08 18:03:55 +0000
@@ -356,9 +356,7 @@
;; End request
"\r\n"
;; Any data
- url-http-data
- ;; If `url-http-data' is nil, avoid two CRLFs (Bug#8931).
- (if url-http-data "\r\n")))
+ url-http-data))
""))
(url-http-debug "Request is: \n%s" request)
request))