http.sh/src/response/401.sh
2020-05-23 22:13:11 +02:00

4 lines
114 B
Bash
Executable file

printf "HTTP/1.0 401 Unauthorized
WWW-Authenticate: Basic realm=\"${cfg[auth_realm]}\"
${cfg[extra_headers]}\r\n"