Commit 89734fb6 authored by Ted Zlatanov's avatar Ted Zlatanov
Browse files

Fix wrong variable name.

(url-http-parse-headers): Fix wrong variable name.
parent 18c812bd
2010-03-24 Teodor Zlatanov <>
* url-http.el (url-http-parse-headers): Fix wrong variable name.
2010-03-24 Teodor Zlatanov <>
* url-http.el (url-http-codes): New variable to hold a mapping of
......@@ -486,7 +486,7 @@ should be shown to the user."
(class nil)
(success nil)
;; other status symbols: jewelry and luxury cars
(status-symbol (cadr (assq status-number url-http-codes))))
(status-symbol (cadr (assq url-http-response-status url-http-codes))))
(setq class (/ url-http-response-status 100))
(url-http-debug "Parsed HTTP headers: class=%d status=%d" class url-http-response-status)
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