webmcp

view framework/env/request/is_404.lua @ 172:a83164390355

Allow json.object and json.array functions to convert any Lua value using __pairs and __ipairs metamethods
author jbe
date Fri Aug 01 17:11:59 2014 +0200 (2014-08-01)
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