diff options
Diffstat (limited to 'lisp/url')
-rw-r--r-- | lisp/url/url-http.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/url/url-http.el b/lisp/url/url-http.el index a6963cef701..31c866bd664 100644 --- a/lisp/url/url-http.el +++ b/lisp/url/url-http.el @@ -551,8 +551,9 @@ work correctly." ;; display a file buffer even if the URL does not exist and ;; 'url-retrieve-synchronously' returns 404 or whatever. (unless (or visit - (and (>= url-http-response-status 200) - (< url-http-response-status 300))) + (or (and (>= url-http-response-status 200) + (< url-http-response-status 300)) + (= url-http-response-status 304))) ; "Not modified" (let ((desc (nth 2 (assq url-http-response-status url-http-codes)))) (kill-buffer buffer) ;; Signal file-error per bug#16733. |