(response)
| 463 | } |
| 464 | |
| 465 | function sendBasicAuthResponse(response) { |
| 466 | response.writeHead(401, { |
| 467 | 'Content-Type': 'text/html', |
| 468 | 'WWW-Authenticate': 'Basic realm="Authentication service"' |
| 469 | }); |
| 470 | return response.end('401 Unauthorized'); |
| 471 | } |