You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Palwasha Hashem <se...@gmail.com> on 2013/08/15 01:35:53 UTC
[users@httpd] Specify Accept Type
I allow users to download and exe located at:
/var/www/html/downloads/sample.exe
However, I want users to be returned a 406 whenever they don't specify the
correct Accept type which is application/octet-stream. As of right now,
users can do a GET on the exe when specifying any Accept type. How can I
fix this? Thank you.