From: K. G. <kim...@gm...> - 2008-09-02 13:18:06
|
Hi Dean, > The issue has something to do with Python bugs that Divye has posted to the list earlier. Ah, found it now, you ironed this out just before I joined! > There's currently no workaround for this, since we haven't been implementing an HTTP Server in the library yet. At any rate, this doesn't manifest itself in Linux. I figured out one workaround -- save test.xml with Unix line-endings (i.e. LF only). That way Python gets what it expects, and the C++ code reading the file sees the same thing. For the ones with no body, that's because my *Python* installation is in Program Files, so both Python and the cpp-netlib source need to live in a space-free path. Ugh. I'll reinstall Python. Attached is a patch for the modified test.xml and adjusted localhost_tests.cpp. Unfortunately, TortoiseSVN seems to have trouble handling changes only in line endings, so whoever commits this may need to alter test.xml manually to make it use Unix line-endings. This seems like a nice thing to get in place, I have some more coming. - Kim |