This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 13875 - Implement a declarative way of setting HTTP headers
Summary: Implement a declarative way of setting HTTP headers
Status: NEW
Alias: None
Product: HTML WG
Classification: Unclassified
Component: testsuite (show other bugs)
Version: unspecified
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: Tobie Langel
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 13:41 UTC by Ms2ger
Modified: 2013-07-18 13:37 UTC (History)
4 users (show)

See Also:


Attachments

Description Ms2ger 2011-08-23 13:41:42 UTC
Rather than using PHP for each file where we need to change the HTTP headers, I think it would be useful to provide a declarative way to set headers. This would make it easier to integrate tests into frameworks that don't use PHP, and would decrease the workload for the people who need to review the PHP files used in our tests. An approach that works well for Mozilla is documented at <https://developer.mozilla.org/En/Httpd.js/HTTP_server_for_unit_tests#Header_modification_for_files>.
Comment 1 Anne 2011-08-23 14:20:48 UTC
Note that XMLHttpRequest tests are using PHP.