all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
Cc: 23253@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	[thread overview]
Message-ID: <87tvdwwcwh.fsf@mouse.gnus.org> (raw)
In-Reply-To: <57094F4E.7080207@live.com> ("Clément Pit--Claudel"'s message of "Sat, 9 Apr 2016 14:51:58 -0400")

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	other threads:[~2019-05-15  4:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-09 18:51 bug#23253: 25.0.90; url-retrieve ignores url-mime-accept-string and most other url variables Clément Pit--Claudel
2019-05-15  4:38 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tvdwwcwh.fsf@mouse.gnus.org \
    --to=larsi@gnus.org \
    --cc=23253@debbugs.gnu.org \
    --cc=clement.pitclaudel@live.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.