From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: url-fetch with referer Date: Wed, 29 May 2019 16:28:17 +0200 Message-ID: <87lfypwd1a.fsf@ambrevar.xyz> References: <877eahyrb2.fsf@ambrevar.xyz> <875zpuy5x1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:58291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hVzZH-0001mq-SR for guix-devel@gnu.org; Wed, 29 May 2019 10:28:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hVzZG-0000Xk-5U for guix-devel@gnu.org; Wed, 29 May 2019 10:28:39 -0400 In-Reply-To: <875zpuy5x1.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > More generally, we=E2=80=99ve added a couple of HTTP headers for issues t= hat > were relatively common. We could easily fix this one, but maybe you > could first talk to the webmasters, because requiring =E2=80=98Referer=E2= =80=99 sounds > obnoxious; WDYT? So I did for 1 website and the answer was that this is on purpose, to "avoid linking directly to the archive from a different website." A rather delusional enforcement, but hey, if we can't convince the webmasters= ... How would we add the relevant HTTP header then? > (Note that in the meantime you can always work around the problem by > writing your own fixed-output derivation.) I don't understand, can you explain? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlzulwEACgkQm9z0l6S7 zH+9aQf/WpgRVnTZ6haT63E/uFY8fLpB0gdaoDJ0OwPxuzJcliCM4B20C3CsZh2a CMpTayNC4M5HA9B2WksdAE6/mhAk7V5UsWbM1tIz8fCRhBCTGJGZCuYzwG5J/KAJ KA2rHKDTiP78BsL55HJ92Dqt1EEgHo6/jUSFZuVKTxMGYMtJDb2jw24RPSu6TGya e0X5xXFZPT42lgv1g8cNmIJOU00QM5XJ15nlso1Ilp3ord21EusooxyaJueM1REa tzqGKlQm3VTXOjshXjMgdg9nz3vLaXdesrzOsFx8DivZDjl+GAxvX4eciNW6Z8An sv+ayEGqJVpYCQ8MXZmfmgbi+nVr7w== =db/y -----END PGP SIGNATURE----- --=-=-=--