mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +00:00

The change from #49 made it an error to not have a URI. That however then led requests with an URI yet no version to abort as well. Instead, we now check if the token following the method is an "HTTP/" version identifier. If, so accept that the URI is empty (and trigger a weird) but otherwise keep processing. Adding test cases for both HTTP requests without URI and without version.
6.2 KiB
6.2 KiB