mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
* url-http.el (url-http-wait-for-headers-change-function): Protect
against url-http-response-status for degenerate documents.
This commit is contained in:
parent
51b403bdcb
commit
697ebdb06b
2 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue