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

Comparing Smersh/Smersh.cpp (file contents):
Revision 175 by Douglas Thrift, 2004-06-25T01:10:49-07:00 vs.
Revision 176 by Douglas Thrift, 2004-06-25T20:32:24-07:00

# Line 73 | Line 73 | int main(int argc, char* argv[])
73          return 0;
74   }
75  
76 < Smersh::Smersh(istream& sin, ostream& sout, Environment env)
76 > Smersh::Smersh(istream& sin, ostream& sout, const Environment& env)
77   {
78          parse(sin, env);
79          smersh(sout);
# Line 81 | Line 81 | Smersh::Smersh(istream& sin, ostream& so
81  
82   Environment Smersh::env;
83  
84 < void Smersh::parse(istream& sin, Environment env)
84 > void Smersh::parse(istream& sin, const Environment& env)
85   {
86          stringstream query(env.get("QUERY_STRING"));
87  
# Line 111 | Line 111 | void Smersh::parse(istream& sin, Environ
111  
112   void Smersh::smersh(ostream& sout)
113   {
114 <        sout << "Content-Type: text/html\n\n";
114 >        sout << "Content-Type: text/html; charset=UTF-8\n\n";
115  
116          vector<Person> people(1);
117  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines