summaryrefslogtreecommitdiff
path: root/python/samba/tests/blackbox/http_content.py
AgeCommit message (Collapse)AuthorFilesLines
2024-04-08selftest: fix potential reference before assigned errorNoel Power1-1/+1
This would only happen if the test failed (but the message would be incorrect as 'e' the exception to be stringified doesn't exist. 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>
2024-03-27selftest: Add basic content-lenght http testsNoel Power1-0/+95
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>