ashaegupta/Split-My-Ride — comment on commit 7cc145614ac2df0bdb26fae237a2e3278cb6b38d
File: splitmyride_server/splitmyride.py line 43
By shreyansb:

each post request checks for the required params and returns an error if any are missing.
calling write(), finish() or render() after finish() or render() have already been called will throw an error, so we check for that and return here.