Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
89534796
Commit
89534796
authored
Aug 14, 2012
by
Stefan Monnier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lisp/url/url-http.el (url-http-parse-headers): Re-enable file-name-handlers.
Fixes: debbugs:11981
parent
e1873bd0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
lisp/url/ChangeLog
lisp/url/ChangeLog
+5
-0
lisp/url/url-http.el
lisp/url/url-http.el
+5
-7
No files found.
lisp/url/ChangeLog
View file @
89534796
2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
* url-http.el (url-http-parse-headers): Re-enable file-name-handlers
(bug#11981).
2012-08-12 David Engster <deng@randomsample.de>
* url-util.el (url-file-directory, url-file-nondirectory): Avoid
...
...
lisp/url/url-http.el
View file @
89534796
...
...
@@ -508,13 +508,10 @@ should be shown to the user."
(
class
nil
)
(
success
nil
)
;; other status symbols: jewelry and luxury cars
(
status-symbol
(
cadr
(
assq
url-http-response-status
url-http-codes
)))
;; The filename part of a URL could be in remote file syntax,
;; see Bug#6717 for an example. We disable file name
;; handlers, therefore.
(
file-name-handler-alist
nil
))
(
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
)
(
url-http-debug
"Parsed HTTP headers: class=%d status=%d"
class
url-http-response-status
)
(
when
(
url-use-cookies
url-http-target-url
)
(
url-http-handle-cookies
))
...
...
@@ -531,7 +528,8 @@ should be shown to the user."
;; 101 = Switching protocols
;; 102 = Processing (Added by DAV)
(
url-mark-buffer-as-dead
buffer
)
(
error
"HTTP responses in class 1xx not supported (%d)"
url-http-response-status
))
(
error
"HTTP responses in class 1xx not supported (%d)"
url-http-response-status
))
(
2
; Success
;; 200 Ok
;; 201 Created
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment