6 |
|
|
7 |
|
#include "Matcher/Matcher.hpp" |
8 |
|
|
9 |
+ |
#include <menes-api/console.hpp> |
10 |
|
#include <menes-api/environment.hpp> |
11 |
|
#include <menes-api/files.hpp> |
12 |
|
#include <menes-api/process.hpp> |
48 |
|
|
49 |
|
bend(path, env.get("HTTP_USER_AGENT")); |
50 |
|
} |
51 |
< |
catch (ext::Exception e) |
51 |
> |
catch (ext::Exception) |
52 |
|
{ |
53 |
|
api::Cout << "Status: 404\r\n" |
54 |
|
<< "Content-Type: text/html; charset=ISO-8859-1\r\n\r\n" |
106 |
|
api::Cout << "Content-Type: " << type << "\r\n\r\n" << output; |
107 |
|
} |
108 |
|
else pass(path); |
108 |
– |
|
109 |
– |
xslt.Join(); |
109 |
|
} |
110 |
|
|
111 |
|
void Bender::pass(const ext::String& path) |