GNU bug report logs - #23253
25.0.90; url-retrieve ignores url-mime-accept-string and most other url variables

Previous Next

Package: emacs;

Reported by: Clément Pit--Claudel <clement.pitclaudel <at> live.com>

Date: Sat, 9 Apr 2016 18:53:02 UTC

Severity: normal

Found in version 25.0.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Clément Pit--Claudel <clement.pitclaudel <at> live.com>
Cc: 23253 <at> debbugs.gnu.org
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
Clément Pit--Claudel <clement.pitclaudel <at> 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




This bug report was last modified 6 years and 63 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.