Skip to content

Conversation

@yadij
Copy link
Contributor

@yadij yadij commented Oct 3, 2025

HTTP specification for the TRACE method states that agents
such as Squid should reflect the HTTP Request message headers.
With certain sensitive headers filtered out.

Allow admin to adjust the TRACE output by supplying a custom
template file called HTTP_TRACE_REPLY that will be used to
generate TRACE responses.

The template will be expanded the way Squid error pages are,
allowing any macro/code available on those templates to also
work for TRACE.

The default Squid generated response is equivalent to a template
containing only the %R code.

HTTP specification for the TRACE method states
that Squid should reflect the HTTP Request
message (sans content and sensitive details).

This change allows admin to supply a custom
template file that will be used instead to
generate TRACE responses.
@yadij yadij added feature maintainer needs documentation updates for merge S-waiting-for-PR Closure of other PR(s), current or future, is expected (and usually required) labels Oct 3, 2025
@yadij yadij added S-waiting-for-reviewer ready for review: Set this when requesting a (re)review using GitHub PR Reviewers box and removed S-waiting-for-PR Closure of other PR(s), current or future, is expected (and usually required) labels Oct 17, 2025
@yadij yadij requested a review from rousskov October 17, 2025 03:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature maintainer needs documentation updates for merge S-waiting-for-reviewer ready for review: Set this when requesting a (re)review using GitHub PR Reviewers box

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants