all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: url-fetch with referer
Date: Tue, 28 May 2019 17:06:50 +0200	[thread overview]
Message-ID: <875zpuy5x1.fsf@gnu.org> (raw)
In-Reply-To: <877eahyrb2.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Thu, 23 May 2019 20:11:13 +0200")

Hi,

Pierre Neidhardt <mail@ambrevar.xyz> skribis:

> For instance
>
>   wget https://foo/bar.zip
>
> fails, while
>
>   wget --referer https://foo https://foo/bar.zip
>
> works.

I say that it’s a buggy web site.  :-)

More generally, we’ve added a couple of HTTP headers for issues that
were relatively common.  We could easily fix this one, but maybe you
could first talk to the webmasters, because requiring ‘Referer’ sounds
obnoxious; WDYT?

(Note that in the meantime you can always work around the problem by
writing your own fixed-output derivation.)

Thanks,
Ludo’.

  reply	other threads:[~2019-05-28 15:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-23 18:11 url-fetch with referer Pierre Neidhardt
2019-05-28 15:06 ` Ludovic Courtès [this message]
2019-05-29 14:28   ` Pierre Neidhardt
2019-05-31 21:39     ` Ludovic Courtès
2019-06-01 10:20       ` Pierre Neidhardt

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=875zpuy5x1.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=mail@ambrevar.xyz \
    /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/guix.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.