Added code to the /newgame endpoint to check for solution:word key value pairs. Cleaned up code that was skipping over checking for the pair in JSON. added silent=True to calls to get_json() which was raising exceptions on requests that didn't have content-type=application/json header.
Added code to the
/newgame
endpoint to check forsolution:word
key value pairs. Cleaned up code that was skipping over checking for the pair in JSON. addedsilent=True
to calls toget_json()
which was raising exceptions on requests that didn't havecontent-type=application/json
header.