aboutsummaryrefslogtreecommitdiff
path: root/scripts/update-case-attribute-tables-20230818
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-08-26 12:35:52 +0300
committerBonfaceKilz2024-08-26 15:35:33 +0300
commit5d0b1033f6f75e7a67226a57762e7a5c73d722a2 (patch)
tree10194a8405d1881a8ad3d8082d6b7a1c595a3c7f /scripts/update-case-attribute-tables-20230818
parentae4bca95b9923be642b3b1f6f7771b7ffce6ed5f (diff)
downloadgenenetwork3-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 'scripts/update-case-attribute-tables-20230818')
0 files changed, 0 insertions, 0 deletions