Commit 697ebdb0 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

* url-http.el (url-http-wait-for-headers-change-function): Protect

against url-http-response-status for degenerate documents.
parent 51b403bd
2010-10-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
* url-http.el (url-http-wait-for-headers-change-function): Protect
against url-http-response-status for degenerate documents.
2010-10-03 Glenn Morris <rgm@gnu.org>
* url-util.el (url-get-url-filename-chars): Don't eval-and-compile.
......
......@@ -1054,7 +1054,8 @@ the end of the document."
end-of-headers t)
(url-http-clean-headers)))
(if (not end-of-headers)
(if (or (not end-of-headers)
(not url-http-response-status))
;; Haven't seen the end of the headers yet, need to wait
;; for more data to arrive.
nil
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment