httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Palwasha Hashem <se.palwash...@gmail.com>
Subject [users@httpd] Specify Accept Type
Date Wed, 14 Aug 2013 23:35:53 GMT
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.

Mime
View raw message