Da-FyK d3a46a6332
Set Content-Type for PAC and WPAD file
For Proxy Auto-Configuration (PAC) or Web Proxy Auto-Discovery (WPAD) to work correctly HTTP server needs to send "application/x-ns-proxy-autoconfig" Content-Type header. I've hardoced "proxy.pac" and "wpad.dat" because i am not golang coder and i dont know how to make it configurable. I hope somebody finds this usefull too and can make better PR.
2020-07-25 02:44:43 +02:00
..