Re: [Cppcms-users] hello_world incorrectly working
Brought to you by:
artyom-beilis
From: Basile S. <ba...@st...> - 2012-12-08 14:28:19
|
On Sat, Dec 08, 2012 at 11:44:18AM +0000, Sergey wrote: > Basile Starynkevitch <basile@...> writes: > > > which is not what I expect.... > > > > > What did I do wrong? > > > > Regards. > > I don't understand. What is a problem? Th produced HTML contains a lot of garbage and is not valid HTML. [notice that there is no </body> in the output I have shown] It is not the HTML code which the following routine should output void my_hello_world::main(std::string /*url*/) { response().out()<< "<html>\n" "<body>\n" " <h1>Hello World</h1>\n" "</body>\n" "</html>\n"; } In other words, it seems that something is buggy in the example (or probably in the cppcms library). Can someone reproduce the bug? Cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} *** |