http.sh/src/response/401.sh

4 lines
114 B
Bash
Raw Normal View History

2020-05-23 22:13:11 +02:00
printf "HTTP/1.0 401 Unauthorized
WWW-Authenticate: Basic realm=\"${cfg[auth_realm]}\"
${cfg[extra_headers]}\r\n"