[nodejs] return body with headers on / weblog endpoint#6306
Merged
Conversation
JJ-Change-Id: wkrxvy
…th` on `/` Update all Node.js weblog variants to return `"Hello world!\n"` with `text/plain` content-type from the `/` endpoint, matching the updated weblog specification. Express/Fastify auto-set `Content-Length`. Variants fixed: `express`, `express4-typescript`, `fastify`, `anthropic_app`, `openai_app`, `google_genai_app`, `nextjs`. JJ-Change-Id: skymyr
/ endpoint/ weblog endpoint
Contributor
|
|
Base automatically changed from
romain.marcadier/APPSEC-61286/go-weblog-headers
to
christophe-papazian/test_content_type
February 13, 2026 15:44
Base automatically changed from
christophe-papazian/test_content_type
to
main
February 13, 2026 19:33
simon-id
reviewed
Feb 16, 2026
simon-id
reviewed
Feb 16, 2026
simon-id
reviewed
Feb 16, 2026
cbeauchesne
approved these changes
Feb 16, 2026
uurien
approved these changes
Feb 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update Node.js weblog variants to return
"Hello world!\n"withContent-Type: text/plainfrom the/endpoint, matching the updated weblog specification. Express/Fastify auto-setContent-Length.Variants fixed
express,express4-typescript,fastify,anthropic_app,openai_app,google_genai_app,nextjsThe AI app variants (
anthropic_app,openai_app,google_genai_app) were missing the/endpoint entirely.nextjsis a special case — it serves HTML due to React page routing.