summaryrefslogtreecommitdiff
path: root/lisp/url/url-http.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-16 15:30:01 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-16 15:30:01 -0700
commitc7b7425e227a08bb85565498e517364fbc96dd2d (patch)
tree2c8fc8e79bfdb4450b9c1df49fb652e6c1443d5d /lisp/url/url-http.el
parent5c1ccb01541c438e596ce2d819d703d67bab25c0 (diff)
parentc4354cb4f4a3982331180439120ca72734d49cc5 (diff)
downloademacs-c7b7425e227a08bb85565498e517364fbc96dd2d.tar.gz
Merge from mainline.
Diffstat (limited to 'lisp/url/url-http.el')
-rw-r--r--lisp/url/url-http.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el
index 07e57cf3301..28071e7165a 100644
--- a/lisp/url/url-http.el
+++ b/lisp/url/url-http.el
@@ -1077,6 +1077,10 @@ the end of the document."
(downcase url-http-transfer-encoding)))
(cond
+ ((null url-http-response-status)
+ ;; We got back a headerless malformed response from the
+ ;; server.
+ (url-http-activate-callback))
((or (= url-http-response-status 204)
(= url-http-response-status 205))
(url-http-debug "%d response must have headers only (%s)."