webmcp

view framework/env/request/is_404.lua @ 129:453d8f8fbace

Extended function json.type(...) to accept two arguments, to allow return of "null"
author jbe
date Sun Jul 27 15:03:21 2014 +0200 (2014-07-27)
parents 52305ec73d47
children
line source
1 --[[--
2 is_404 = -- boolean
3 request.is_404()
5 Returns true, if this request results in a 404, else false.
7 --]]--
9 function request.is_404()
10 return request._is_404
11 end

Impressum / About Us