diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-06-02 18:33:41 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-06-02 18:33:41 +0000 |
commit | 1df2d73183a08fc37bc1b97a530c13a9445dad65 (patch) | |
tree | f4c857d12961f84db9c2594723974d99fc7b1bfb /src/tests | |
parent | fcaaf2927914cfda505051693f5717b4a56ec04a (diff) | |
download | libbu++-1df2d73183a08fc37bc1b97a530c13a9445dad65.tar.gz libbu++-1df2d73183a08fc37bc1b97a530c13a9445dad65.tar.bz2 libbu++-1df2d73183a08fc37bc1b97a530c13a9445dad65.tar.xz libbu++-1df2d73183a08fc37bc1b97a530c13a9445dad65.zip |
Updates to the cgi system, and I'm putting the general CGI related stuff like
encoding and decoding and uri encoded splitting etc in one class.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/fastcgi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/fastcgi.cpp b/src/tests/fastcgi.cpp index 53dd68a..e71b3c5 100644 --- a/src/tests/fastcgi.cpp +++ b/src/tests/fastcgi.cpp | |||
@@ -17,9 +17,9 @@ public: | |||
17 | { | 17 | { |
18 | } | 18 | } |
19 | 19 | ||
20 | virtual int request( const StrHash &hParams, | 20 | virtual int onRequest( const StrHash &hParams, |
21 | const Bu::FString &sStdIn, Bu::Stream &sStdOut, | 21 | const Bu::FString &sStdIn, Bu::Stream &sStdOut, |
22 | Bu::Stream &sStdErr ) | 22 | Bu::Stream &/*sStdErr*/ ) |
23 | { | 23 | { |
24 | Bu::FString sOut("Content-Type: text/html\r\n\r\n"); | 24 | Bu::FString sOut("Content-Type: text/html\r\n\r\n"); |
25 | sOut += "<html><body><h1>Environment:</h1><ul>"; | 25 | sOut += "<html><body><h1>Environment:</h1><ul>"; |