kafka/internal/httpapi
Franz Kafka f1cf23745e
Some checks failed
Mirror to GitHub / mirror (push) Waiting to run
Tests / test (push) Waiting to run
Build and Push Docker Image / build-and-push (push) Has been cancelled
test: add HTTP API integration tests
Test GET /healthz, /, /search, /autocompleter endpoints.
Verify response codes, content types, JSON decoding, empty-query
redirect, and source URL presence in footer.

Also fix dead code in Search handler: the redirect for empty q
was unreachable because ParseSearchRequest errors on empty q first.
Move the q/format check before ParseSearchRequest to fix the redirect.
2026-03-22 11:44:48 +00:00
..
handlers.go test: add HTTP API integration tests 2026-03-22 11:44:48 +00:00
httpapi_test.go test: add HTTP API integration tests 2026-03-22 11:44:48 +00:00