Comparison

plugins/mod_http_files.lua @ 4722:1138fd3d5846

mod_http_files: Specify method in HTTP route
author Matthew Wild <mwild1@gmail.com>
date Fri, 27 Apr 2012 18:40:44 +0100
parent 4716:6eeb142a8073
child 4868:550f0a5e85c5
comparison
equal deleted inserted replaced
4721:1c6c4c53f08a 4722:1138fd3d5846
49 return response:send(data); 49 return response:send(data);
50 end 50 end
51 51
52 module:provides("http", { 52 module:provides("http", {
53 route = { 53 route = {
54 ["/*"] = serve_file; 54 ["GET /*"] = serve_file;
55 }; 55 };
56 }); 56 });
57 57