aboutsummaryrefslogtreecommitdiff
path: root/.guix-channel
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-09-02 09:26:59 +0300
committerBonfaceKilz2024-09-05 16:39:14 +0300
commit3fe11df19d4f7c1a60a3180e06dd592fdc32f1f1 (patch)
tree9497e2b246bf57fa0fe5b293d7d7946611f8ab22 /.guix-channel
parent74337eb0c3df90215e029989ac01679f75dbd58a (diff)
downloadgenenetwork3-3fe11df19d4f7c1a60a3180e06dd592fdc32f1f1.tar.gz
Use the correct header to request json-ld data.
In HTTP, we use content negotiation to server different representations of a resource to the same URI to help the user agent specify which representation is best suited for the user: <https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation> The "Accept" requet HTTP indicates which content types the user is supposed to understand: <https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept> * gn3/api/metadata_api/wiki.py (get_wiki_entries): Use the "Accept" header. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to '.guix-channel')
0 files changed, 0 insertions, 0 deletions