diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-30 16:21:12 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-01-30 16:21:12 +0000 |
commit | 8fa60a19cfe0a7c6c375c1da30f022a5b20a7175 (patch) | |
tree | f1d87da71f1bc12321a3fde793e71bc5254a5975 /icespider/testing/testRequest.cpp | |
parent | Support for plugable error handlers (diff) | |
download | icespider-8fa60a19cfe0a7c6c375c1da30f022a5b20a7175.tar.bz2 icespider-8fa60a19cfe0a7c6c375c1da30f022a5b20a7175.tar.xz icespider-8fa60a19cfe0a7c6c375c1da30f022a5b20a7175.zip |
Dump request details to stderr in case of unhandled exceptionicespider-0.2
Diffstat (limited to 'icespider/testing/testRequest.cpp')
-rw-r--r-- | icespider/testing/testRequest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/icespider/testing/testRequest.cpp b/icespider/testing/testRequest.cpp index daecc49..e101dfd 100644 --- a/icespider/testing/testRequest.cpp +++ b/icespider/testing/testRequest.cpp @@ -125,6 +125,12 @@ namespace IceSpider { getOutputStream() << header << ": " << value << "\r\n"; } + std::ostream & + TestRequest::dump(std::ostream & s) const + { + return s; + } + const TestRequest::MapVars & TestRequest::getResponseHeaders() { |