all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Damien Cassou <damien@cassou.me>
To: 37319@debbugs.gnu.org
Cc: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: bug#37319: 26.3; shr: Why inhibiting cookies when fetching images?
Date: Fri, 06 Sep 2019 09:24:26 +0200	[thread overview]
Message-ID: <87blvxkhud.fsf@cassou.me> (raw)

Hi,

I would like to use shr to render an HTML document with images. These
images are only accessible when logged in, so I need cookies to be sent
by shr. Unfortunately, `shr-tag-img` explicitly pass t to
INHIBIT-COOKIES when calling `url-queue-retrieve`. Several calls to
`url-retrieve` in the same file also inhibit cookies.

Why is that so? Can we make that configurable through, e.g., a new
option `shr-img-inhibit-cookies` or similar?

Best,

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill





             reply	other threads:[~2019-09-06  7:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-06  7:24 Damien Cassou [this message]
2019-09-14 13:57 ` bug#37319: 26.3; shr: Why inhibiting cookies when fetching images? Lars Ingebrigtsen
2019-09-24 15:49   ` Lars Ingebrigtsen

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=87blvxkhud.fsf@cassou.me \
    --to=damien@cassou.me \
    --cc=37319@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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.