bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#23253: 25.0.90; url-retrieve ignores url-mime-accept-string and most


From: Lars Ingebrigtsen
Subject: bug#23253: 25.0.90; url-retrieve ignores url-mime-accept-string and most other url variables
Date: Wed, 15 May 2019 06:38:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Clément Pit--Claudel <clement.pitclaudel@live.com> writes:

> It seems that there is no way to set ‘url-mime-encoding-string’, 
> ‘url-mime-charset-string’, and ‘url-mime-accept-string’ for a single 
> asynchronous query (things work with ‘url-retrieve-synchronously’, but not 
> with ‘url-retrieve’).
>
> More precisely: this sends a query with ‘Accept: */*’, and prints nil:
>
>     (let ((url-mime-accept-string "abc/def"))
>       (url-retrieve "http://www.gnu.org/software/emacs/";
>                     (lambda (&rest _)
>                       (message "url-retrieve: %S"
>                                url-mime-accept-string))))

I tried this, and I got

url-retrieve: "abc/def"

so this has apparently been fixed in Emacs 27?  Closing the bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]