|
|
| version 1.35, 2001/04/28 15:22:38 | version 1.36, 2001/05/04 10:42:35 |
|---|---|
| Line 128 static void pass_cgi_header_attribute(Ar | Line 128 static void pass_cgi_header_attribute(Ar |
| hash.put(string.mid(0, colon_pos), | hash.put(string.mid(0, colon_pos), |
| new(string.pool()) VString(string.mid(colon_pos+1, string.size()))); | new(string.pool()) VString(string.mid(colon_pos+1, string.size()))); |
| } | } |
| /** | /// @todo fix `` in perl - they produced flipping consoles and no output to perl |
| ^exec[file-name] | |
| ^exec[file-name;env hash] | |
| ^exec[file-name;env hash;cmd;line;arg;s] | |
| @todo fix `` in perl - they produced flipping consoles and no output to perl | |
| */ | |
| static void _cgi(Request& r, const String& method_name, MethodParams *params) { | static void _cgi(Request& r, const String& method_name, MethodParams *params) { |
| Pool& pool=r.pool(); | Pool& pool=r.pool(); |
| Line 277 MFile::MFile(Pool& apool) : Methoded(apo | Line 272 MFile::MFile(Pool& apool) : Methoded(apo |
| // ^stat[disk-name] | // ^stat[disk-name] |
| add_native_method("stat", Method::CT_DYNAMIC, _stat, 1, 1); | add_native_method("stat", Method::CT_DYNAMIC, _stat, 1, 1); |
| // ^exec[file-name] | // ^cgi[file-name] |
| // ^exec[file-name;env hash] | // ^cgi[file-name;env hash] |
| // ^exec[file-name;env hash;1cmd;2line;3ar;4g;5s] | // ^cgi[file-name;env hash;1cmd;2line;3ar;4g;5s] |
| add_native_method("cgi", Method::CT_DYNAMIC, _cgi, 1, 2+5); | add_native_method("cgi", Method::CT_DYNAMIC, _cgi, 1, 2+5); |
| } | } |