Req:respond/1 のメモ

200

Req:ok({"application/json", <<>>})

404

Req:not_found()

405

Req:respond({405, [{"Allow", "GET,POST"}], <<"405 Method Not Allowed\r\n">>})