James McKinney
d652ed8538
Omit the version number from headers and HTML responses ( #543 )
...
Omit the version number from headers, HTML responses, and templates
2024-06-20 10:51:29 +02:00
Michael Adam
cbe52ca43c
tests:webserver: correctly answer http/0.9 requests by sending no headers
...
Michael
2009-10-10 20:57:07 +02:00
Michael Adam
d1c8a68375
tests:webserver: Add copyright notice to the pod documentation.
...
Michael
2009-09-17 00:25:57 +02:00
Michael Adam
b6413068e2
tests:webserver: record the value of the server header field in a variable.
...
Michael
2009-09-14 22:12:30 +02:00
Michael Adam
8c5391ab6e
tests:webserver: add handing of bad request error.
...
Michael
2009-09-14 13:30:57 +02:00
Michael Adam
78502e4565
tests:webserver: add parsing of request
...
Michael
2009-09-14 13:30:57 +02:00
Michael Adam
afacc3d80b
tests:webserver: move parsing of request to its own function.
...
(Prepare for really parsing the request...)
Michael
2009-09-14 11:02:28 +02:00
Michael Adam
abb2283e2e
tests:webserver: be more rfc 1945 compliant in the server-header.
...
Michael
2009-09-13 01:14:44 +02:00
Michael Adam
290c4f581e
tests/webserver: add complete GPL boilerplate.
...
Michael
2009-09-10 12:07:48 +02:00
Michael Adam
4d4f8bffef
tests:webserver: make pid-file, log-dir and doc-root reside in /tmp by default
...
So simply starting the server will work.
Michael
2009-09-10 11:08:17 +02:00
Michael Adam
974be68476
tests/webserver: rework locking of pid file.
...
Michael
2009-09-10 11:08:17 +02:00
Michael Adam
449af292dc
tests:webserver: reopen STDOUT/STDERR after locking pid file.
...
Michael
2009-09-10 11:08:08 +02:00
Michael Adam
a39d7cd8d8
tests: add a simple webserver written in perl.
...
This should be the web server to test against in the upcoming selftest suite.
This web server will evolve as the test suite grows.
Currently, it just returns a web site quoting the request and a fortune
(if fortune is installed...) for whatever request it gets.
The option to provide a document root is already present.
Michael
2009-09-10 01:13:01 +02:00