# | 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; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |