Opened 6 years ago
Last modified 6 years ago
#12964 closed enhancement
Make HTTP headers configurable — at Version 2
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.2.3 |
Component: | web frontend | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: |
Request headers are configurable through the |
||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Discused in gmessage:trac-dev:gDPzxZEo8v0/VMPI57jNCQAJ.
- Check whether http header name is valid like
[trac] xsendfile_header option
. - Check whether http header value is valid (the value cannot contain control characters except TAB and SPACE).
- Ignore some headers, e.g.
Content-Type
,Content-Length
,Location
,ETag
,Pragma
,Cache-Control
,Expires
. - Send configured headers for all send_* methods included send_error().
Change History (2)
comment:1 by , 6 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 6 years ago
Note:
See TracTickets
for help on using tickets.
Do we want to configure any default values for
[http-headers]
? Is the following suggested?: