diff options
| author | 2020-06-06 23:29:46 +0200 | |
|---|---|---|
| committer | 2020-06-06 23:29:46 +0200 | |
| commit | 138d9ca6587b1c6bcc656ad58a5db03492ae9f12 (patch) | |
| tree | 9ffa9cda5095ca763221d4adbcb6660342cb1b41 /force-https.default.txt | |
| parent | b2b249d6d6e1339b7a55a61ac06b0520b9dc91b9 (diff) | |
Return the correct Content-Type for SVG favicons (#3032)
* Return the correct Content-Type for SVG favicons
* Use mime_content_type to check file type
* Use tab instead of spaces
* Remove extra blank lines
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
* Update f.php
* Better obey HTTP/1.1 304 Not Modified rules about headers https://tools.ietf.org/html/rfc2616#section-10.3.5
* Do not fail if the optional `fileinfo` is not available
* Handle more cases such as PNG, GIF, BMP...
* Add Content-Type for default favicon
* Do not repeat HTTP headers in HTTP 304 response
According to https://tools.ietf.org/html/rfc2616#section-10.3.5 it is better not to repeat HTTP headers in a HTTP 304 Not Modified response
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'force-https.default.txt')
0 files changed, 0 insertions, 0 deletions
