View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000700 | v2.3 Release (Closed) | [All Projects] General | public | 2011-01-20 12:46 | 2011-03-24 09:53 | ||||
Reporter | eureka | ||||||||
Assigned To | caseydk | ||||||||
Priority | normal | Severity | trivial | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Product Version | 2.3 | ||||||||
Target Version | Fixed in Version | 2.3 | |||||||
Summary | 0000700: suppressHeaders parameter | ||||||||
Description | In indexp.php, is it possible not to send the headers below if the parameter "suppressHeaders" is set : header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past header('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT'); // always modified header('Cache-Control: no-cache, must-revalidate, no-store, post-check=0, pre-check=0'); // HTTP/1.1 header('Pragma: no-cache'); // HTTP/1.0 header("Content-type: text/html; charset=UTF-8"); | ||||||||
Tags | No tags attached. | ||||||||
Attached Files |
|
![]() |
|
caseydk (administrator) 2011-01-21 00:02 |
Is this more than a semantic problem? Aka we're supposed to suppressHeaders and we're not? |
eureka (reporter) 2011-01-21 11:17 |
Hi caseydk, The only way for an add-on module to implement an xml or json response to an AJAX request is to use the suppressHeaders parameter in order to avoid sending the "Content-type: text/html charset=UTF-8" header and HTML tags. |
caseydk (administrator) 2011-01-23 22:59 |
Resolved in r1604 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-01-20 12:46 | eureka | New Issue | |
2011-01-21 00:02 | caseydk | Note Added: 0001570 | |
2011-01-21 11:17 | eureka | Note Added: 0001573 | |
2011-01-23 22:59 | caseydk | Note Added: 0001579 | |
2011-01-23 22:59 | caseydk | Status | new => resolved |
2011-01-23 22:59 | caseydk | Resolution | open => fixed |
2011-01-23 22:59 | caseydk | Assigned To | => caseydk |
2011-03-24 09:53 | caseydk | Fixed in Version | => 2.3 |
2011-03-24 09:53 | caseydk | Status | resolved => closed |