ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Bender/Bender.cpp
(Generate patch)

Comparing Bender/Bender.cpp (file contents):
Revision 350 by douglas, 2004-12-17T15:02:41-08:00 vs.
Revision 376 by douglas, 2004-12-22T18:23:27-08:00

# Line 6 | Line 6
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>
# Line 47 | Line 48 | Bender::Bender()
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"
# Line 105 | Line 106 | void Bender::bend(const ext::String& pat
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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines