bffbb051f2
$ curl localhost:8777 -X POST -i -d '{"action": "version", "version": 6},' && echo ␄ HTTP/1.1 200 OK Content-Type: text/json Access-Control-Allow-Origin: http://localhost Access-Control-Allow-Headers: * Content-Length: 67 {"result": null, "error": "Extra data: line 1 column 36 (char 35)"}␄ $ curl localhost:8777 -X POST -i -d '{"action": "version", "version": 6},' -H "Origin: foo" && echo ␄ HTTP/1.1 403 Forbidden Access-Control-Allow-Origin: http://localhost Access-Control-Allow-Headers: * ␄ |
||
---|---|---|
.. | ||
conftest.py | ||
test_cards.py | ||
test_decks.py | ||
test_edit.py | ||
test_graphical.py | ||
test_media.py | ||
test_misc.py | ||
test_models.py | ||
test_notes.py | ||
test_server.py | ||
test_stats.py |