1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00

15 Commits

Author SHA1 Message Date
Jean-Frederic Clere
502faf44d5 Add --strict-optional to prevent success when missing modules.
Submitted by Maya Echtinaw

This closes #808



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1939059 13f79535-47bb-0310-9956-ffa450edef68
2026-10-12 13:14:38 +00:00
Jean-Frederic Clere
6f1494b474 Based on [PR665] install what is needed to build Apache httpd with vcpkg in window and fix some tests.
Done with the help of Claude Code Opus 4.6

this closes #731

M    test/modules/http1/env.py
M    test/modules/http2/env.py
M    test/modules/http2/test_006_assets.py
M    test/modules/http2/test_103_upgrade.py
M    test/modules/http2/test_104_padding.py
M    test/modules/http2/test_107_frame_lengths.py
M    test/modules/http2/test_202_trailer.py
M    test/modules/http2/test_400_push.py
M    test/modules/http2/test_401_early_hints.py
M    test/modules/http2/test_710_load_post_static.py
M    test/modules/http2/test_711_load_post_cgi.py
M    test/pyhttpd/certs.py
M    test/pyhttpd/conf/httpd.conf.template
M    test/pyhttpd/env.py


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1937863 13f79535-47bb-0310-9956-ffa450edef68
2026-09-04 12:54:05 +00:00
Michael Osipov
0876ba4297 Use HTTP_* and ap_is_*() macros instead of literals
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934913 13f79535-47bb-0310-9956-ffa450edef68
2026-06-03 09:07:51 +00:00
Stefan Eissing
1d7ba6ce10 modern python fixes:
- rename hook parameter, because python thought this is a super good idea
- change call property to method because it no longer worked



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933904 13f79535-47bb-0310-9956-ffa450edef68
2026-05-07 09:46:23 +00:00
Rainer Jung
f889bcb228 Make sure pytest shuts down the web server after each package
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919265 13f79535-47bb-0310-9956-ffa450edef68
2024-07-15 22:34:32 +00:00
Stefan Eissing
3fb63bf859 test http1, add version check for trailer tests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1919125 13f79535-47bb-0310-9956-ffa450edef68
2024-07-11 08:10:54 +00:00
Yann Ylavic
ac622813b2 pytests: Ignore log errors/warnings per function.
It's easier to control errors at the function scope and it avoids ignored
errors/warnings to propagate to the following tests (i.e. mask further
unexpected errors).

github: closes #371



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910844 13f79535-47bb-0310-9956-ffa450edef68
2023-07-07 08:21:21 +00:00
Stefan Eissing
1da1056530 make the h1 test suite work again
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909453 13f79535-47bb-0310-9956-ffa450edef68
2023-04-27 11:37:27 +00:00
Stefan Eissing
2430b019cd make the http2 test suite working again
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1909452 13f79535-47bb-0310-9956-ffa450edef68
2023-04-27 11:35:51 +00:00
Yann Ylavic
62c5aeadd0 pytests: Use python3-multipart lib.
Use the API of https://github.com/andrew-d/python-multipart, available as
package python3-multipart on Debian/Ubuntu.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908574 13f79535-47bb-0310-9956-ffa450edef68
2023-03-20 15:02:13 +00:00
Stefan Eissing
d73a6e1490 Test case updates related to macOS ventura changes:
- python 3.11 deprecates the `cg` module, replacing
  url query and multipart form-data handling with new code
- adaptions to changes in openssl/curl behaviours
- all mod_tls test cases now have prefix `test_tls_` for
  easier scoping.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1908060 13f79535-47bb-0310-9956-ffa450edef68
2023-03-04 13:40:38 +00:00
Stefan Eissing
d7ec293abc *) test modules/http1, add testing field value with just whitespace.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904776 13f79535-47bb-0310-9956-ffa450edef68
2022-10-22 10:37:25 +00:00
Stefan Eissing
d4d25443cb *) test modules/http1: adding new invalid header values and testing also via h1 proxy.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904756 13f79535-47bb-0310-9956-ffa450edef68
2022-10-21 07:39:49 +00:00
Stefan Eissing
f3ab5c5dd6 tests modules/http1: use "Header add" to produce response headers with whitespace.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1904693 13f79535-47bb-0310-9956-ffa450edef68
2022-10-19 09:16:30 +00:00
Stefan Eissing
dc18031936 *) mod_http: genereate HEADERS buckets for trailers
mod_proxy: forward trailers on chunked request encoding
     test: add http/1.x test cases in pytest



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1899552 13f79535-47bb-0310-9956-ffa450edef68
2022-04-04 11:08:58 +00:00