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 124 by Douglas Thrift, 2004-03-21T23:03:36-08:00 vs.
Revision 125 by Douglas Thrift, 2004-03-23T19:19:14-08:00

# Line 104 | Line 104 | void Bender::bend(const string& path)
104  
105          if (transformer.transform(path.c_str(), output) == 0)
106          {
107 <                string type = "text/html; charset=ISO-8859-1";
107 >                string type = "text/xml";
108                  Matcher matcher("http-equiv=\"Content-Type\" content=\"(.*)\"");
109  
110                  if (matcher == output.str())
# Line 122 | Line 122 | void Bender::bend(const string& path)
122  
123   void Bender::pass(const string& path)
124   {
125 <        cout << "Content-Type: text/xml; charset=UTF-8\n\n";
125 >        cout << "Content-Type: text/xml\n\n";
126  
127          ifstream fin(path.c_str());
128          string line;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines