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.

Reply via email to