selftest: Add basic content-lenght http tests
authorNoel Power <noel.power@suse.com>
Mon, 25 Mar 2024 16:25:55 +0000 (16:25 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 27 Mar 2024 01:14:31 +0000 (01:14 +0000)
commit74cdebeae3d1bc35eea96b51b9491f6c52844b10
treee386b5523b544e61b503e406f0fb9ed12f885fe1
parentcd6c075476c820b4fe8bdc10a24d8fc8ac74e9c9
selftest: Add basic content-lenght http tests

very simple test of basic http request/response plus some checks to
ensure http response doesn't exceed the response max length set by
the client call.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15611
Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/blackbox/http_content.py [new file with mode: 0644]
selftest/tests.py