selftest: Add basic content-lenght http tests
authorNoel Power <noel.power@suse.com>
Mon, 25 Mar 2024 16:25:55 +0000 (16:25 +0000)
committerJule Anger <janger@samba.org>
Thu, 11 Apr 2024 11:20:16 +0000 (11:20 +0000)
commit71eac5a065fac4023601b067b850d209a7dec149
tree9b25caa51c26310da52d00fb094310a6bc5d078f
parent19250e13ab6c654405baf7c7d9c18f514ceade0f
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>
(cherry picked from commit 74cdebeae3d1bc35eea96b51b9491f6c52844b10)
python/samba/tests/blackbox/http_content.py [new file with mode: 0644]
selftest/tests.py