Dotclear

Changeset 3143:4e0ecb714e74


Ignore:
Timestamp:
11/30/15 07:51:05 (10 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Fix #2147, content-length header is not more given

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/load_plugin_file.php

    r3022 r3143  
    9999 
    100100header('Content-Type: '.files::getMimeType($PF)); 
    101 header('Content-Length: '.filesize($PF)); 
     101// Content-length is not mandatory and must be the exact size of content transfered AFTER possible compression (gzip, deflate, …) 
     102//header('Content-Length: '.filesize($PF)); 
    102103readfile($PF); 
    103104exit; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map