Moodle.2x mod/hotpot use 0/1 instead of false/true for HTTP_NO/204_RESPONSE constants, and small improvement to readability of send_response method