diff options
author | zsloan | 2023-07-05 19:41:49 +0000 |
---|---|---|
committer | zsloan | 2023-07-05 19:41:49 +0000 |
commit | 793e2465a75900f63228729c4b6bac4a6778d0bd (patch) | |
tree | 931928978dc099af4a656e1a7818c131d6faea2a /wqflask/maintenance/geno_to_json.py | |
parent | e9640394e0e7c28d54cdd8c7a805c7dffa3f0be0 (diff) | |
download | genenetwork2-793e2465a75900f63228729c4b6bac4a6778d0bd.tar.gz |
Fix bug where mapping is sometimes wrongly submitted as a GET request
I think this bug was caused by changing the /run_mapping endpoint to
accept both GET and POST requests, and it only seemed to occur for some
users (only Rob that I'm aware of).
I'm still not sure why it was happening, but I addressed it by returning
/run_mapping to being only POST requests, and instead allowing the
mapping hashes to be linked to with the pattern /run_mapping/<hash>
(instead of the GET request /run_mapping?hash=<hash>). This appears to
have prevented the problem from happening.
Diffstat (limited to 'wqflask/maintenance/geno_to_json.py')
0 files changed, 0 insertions, 0 deletions