diff options
author | Munyoki Kilyungi | 2024-08-26 12:35:52 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-08-26 15:35:33 +0300 |
commit | 5d0b1033f6f75e7a67226a57762e7a5c73d722a2 (patch) | |
tree | 10194a8405d1881a8ad3d8082d6b7a1c595a3c7f /gn3/db | |
parent | ae4bca95b9923be642b3b1f6f7771b7ffce6ed5f (diff) | |
download | genenetwork3-5d0b1033f6f75e7a67226a57762e7a5c73d722a2.tar.gz |
Set correct content-header & status code for ld+json/json response.
* gn3/api/metadata.py: Import jsonify, make_response.
(get_wiki_entries): Set a 404 status code when a response is empty.
Set correct Content-Type header for ld+json.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/db')
0 files changed, 0 insertions, 0 deletions