unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* url-fetch with referer
@ 2019-05-23 18:11 Pierre Neidhardt
  2019-05-28 15:06 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Pierre Neidhardt @ 2019-05-23 18:11 UTC (permalink / raw)
  To: Guix-devel

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Hi,

I've hit a source archive which won't get downloaded properly with
url-fetch.

This is because the hosting site requires a "referer", and url-fetch
does not seem to provide any.

For instance

  wget https://foo/bar.zip

fails, while

  wget --referer https://foo https://foo/bar.zip

works.

Can we set a referer in url-fetch, or at least provide an option?  Thoughts?

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-06-01 10:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-23 18:11 url-fetch with referer Pierre Neidhardt
2019-05-28 15:06 ` Ludovic Courtès
2019-05-29 14:28   ` Pierre Neidhardt
2019-05-31 21:39     ` Ludovic Courtès
2019-06-01 10:20       ` Pierre Neidhardt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).