Specify Accept Type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux