http.sh/src/response/401.sh

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"