[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] import: json: Explicitly ask for JSON data.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 1/2] import: json: Explicitly ask for JSON data. |
Date: |
Wed, 08 Feb 2017 16:22:11 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Federico Beffa <address@hidden> skribis:
> Some sites, if not explicitly asked for JSON data, answer with HTML.
> One of them is Stackage.
>
> Regards,
> Fede
>
> From 2576e7390c9f8660fbb52e2a72eb782564b8865e Mon Sep 17 00:00:00 2001
> From: Federico Beffa <address@hidden>
> Date: Sun, 5 Feb 2017 14:42:10 +0100
> Subject: [PATCH 1/2] import: json: Explicitly ask for JSON data.
>
> * guix/import/json.scm (json-fetch): Add #:headers to http-fetch call.
Good catch, LGTM!
Ludo’.