[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#54836] [PATCH 1/2] http-client: Fix redirection.
From: |
Ludovic Courtès |
Subject: |
[bug#54836] [PATCH 1/2] http-client: Fix redirection. |
Date: |
Mon, 11 Apr 2022 14:45:41 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
Hi,
Attila Lendvai <attila@lendvai.name> skribis:
> This is needed when dealing with golang packages, as per:
> https://golang.org/ref/mod#vcs-find
>
> A page may return 404, but at the same time also contain the sought after
> `go-import` meta tag. An example for such a project/page is:
> https://www.gonum.org/v1/gonum?go-get=1
>
> It's not enough to just handle the thrown exception, because we need to be
> able to get hold of the fetched content, too.
Would it make sense, then, to use the lower-level ‘http-get’ from (web
client)? That would let the code deal with all the HTTP idiosyncrasies.
Ludo’.