openSUSE / mirrorbrain

MirrorBrain
http://mirrorbrain.org/
Other
26 stars 17 forks source link

Add json output format to mod_autoindex_mb #58

Open andrii-suse opened 3 years ago

andrii-suse commented 3 years ago

MirrorCache needs to see exact file size, which is impossible in current mod_autoindex implementation. This PR will add additional option flag F=J to render files in json instead of html as done with F=0, F=1 and F=2. See also https://github.com/apache/httpd/pull/166 for the same change in upstream mod_autoindex