diff options
Diffstat (limited to 'src/tests/fastcgi.cpp')
| -rw-r--r-- | src/tests/fastcgi.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/fastcgi.cpp b/src/tests/fastcgi.cpp index a3fa675..7ca4ebc 100644 --- a/src/tests/fastcgi.cpp +++ b/src/tests/fastcgi.cpp | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (C) 2007-2010 Xagasoft, All rights reserved. | 2 | * Copyright (C) 2007-2011 Xagasoft, All rights reserved. |
| 3 | * | 3 | * |
| 4 | * This file is part of the libbu++ library and is released under the | 4 | * This file is part of the libbu++ library and is released under the |
| 5 | * terms of the license contained in the file LICENSE. | 5 | * terms of the license contained in the file LICENSE. |
| @@ -27,10 +27,10 @@ public: | |||
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | virtual int onRequest( const StrHash &hParams, | 29 | virtual int onRequest( const StrHash &hParams, |
| 30 | const Bu::FString &sStdIn, Bu::Stream &sStdOut, | 30 | const Bu::String &sStdIn, Bu::Stream &sStdOut, |
| 31 | Bu::Stream &/*sStdErr*/ ) | 31 | Bu::Stream &/*sStdErr*/ ) |
| 32 | { | 32 | { |
| 33 | Bu::FString sOut("Content-Type: text/html\r\n\r\n"); | 33 | Bu::String sOut("Content-Type: text/html\r\n\r\n"); |
| 34 | sOut += "<html><body><h1>Environment:</h1><ul>"; | 34 | sOut += "<html><body><h1>Environment:</h1><ul>"; |
| 35 | for( StrHash::const_iterator i = hParams.begin(); i; i++ ) | 35 | for( StrHash::const_iterator i = hParams.begin(); i; i++ ) |
| 36 | { | 36 | { |
| @@ -44,8 +44,8 @@ public: | |||
| 44 | sOut += "</li></ul>"; | 44 | sOut += "</li></ul>"; |
| 45 | sOut += "<h1>Stdin:</h1>"; | 45 | sOut += "<h1>Stdin:</h1>"; |
| 46 | sOut.formatAppend("%d bytes<pre>", sStdIn.getSize() ); | 46 | sOut.formatAppend("%d bytes<pre>", sStdIn.getSize() ); |
| 47 | Bu::FString sL, sR; | 47 | Bu::String sL, sR; |
| 48 | for( Bu::FString::const_iterator i = sStdIn.begin(); | 48 | for( Bu::String::const_iterator i = sStdIn.begin(); |
| 49 | i; i++ ) | 49 | i; i++ ) |
| 50 | { | 50 | { |
| 51 | sL.formatAppend("%02X ", | 51 | sL.formatAppend("%02X ", |
