X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=libs%2Fhttp%2Fluasrc%2Fhttp%2Fprotocol%2Fconditionals.lua;fp=libs%2Fhttp%2Fluasrc%2Fhttp%2Fprotocol%2Fconditionals.lua;h=015cf4518b40de49226661e7dd99e9d3d43ffe19;hb=675b1b6d686bab49866a1f55044e3ea8d3969172;hp=d31a47454cc2e7b33a6959e4f386b3b2daffb28b;hpb=84b98f7e8c4178f387ea18bca18c2f03101d2783;p=project%2Fluci.git diff --git a/libs/http/luasrc/http/protocol/conditionals.lua b/libs/http/luasrc/http/protocol/conditionals.lua index d31a47454..015cf4518 100644 --- a/libs/http/luasrc/http/protocol/conditionals.lua +++ b/libs/http/luasrc/http/protocol/conditionals.lua @@ -118,7 +118,7 @@ function if_none_match( req, stat ) return true end --- 14.27 / If-Range +--- 14.27 / If-Range -- The If-Range header is currently not implemented due to the lack of general -- byte range stuff in luci.http.protocol . This function will always return -- false, 412 to indicate a failed precondition. @@ -131,7 +131,7 @@ function if_range( req, stat ) return false, 412 end --- 14.28 / If-Unmodified-Since +--- 14.28 / If-Unmodified-Since -- Test whether the given message object contains an "If-Unmodified-Since" -- header and compare it against the given stat object. -- @param req HTTP request message object