[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#17549: 24.4.50; regression: url-insert-file-contents
From: |
Leo Liu |
Subject: |
bug#17549: 24.4.50; regression: url-insert-file-contents |
Date: |
Thu, 26 Jun 2014 12:03:19 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (CentOS 6.5) |
Fixed in 24.4
On 2014-06-25 22:38 -0400, Stefan Monnier wrote:
> IIUC the above just adds a "(when (bound-and-true-p
> url-http-response-status)" wrapper around the existing code, right?
> If so, it looks like a safe enough fix to install it in emacs-24.
Yes, it should be safe enough. So bound-and-true-p make sure it is
http/s. Secondly we don't re-do url-http-parse-response and rely on its
point end at before the status-text.
> This still doesn't look like The Right Way to do things in URL.
> I think The Right Way would be for the url-http code to set some
> backend-agnostic properties which url-handlers.el can then use.
I agree. This bit of code is http specific and should be in the backend
instead. I'll add a note for now. BTW, it might not be easy to invent
similar semantics for other protocols though.
Thanks,
Leo