401 Unauthorized

401 Unauthorized ํด๋ผ์ด์–ธํŠธ ์˜ค๋ฅ˜ ์ƒํƒœ ์‘๋‹ต ์ฝ”๋“œ๋Š” ํ•ด๋‹น ๋ฆฌ์†Œ์Šค์— ์œ ํšจํ•œ ์ธ์ฆ ์ž๊ฒฉ ์ฆ๋ช…์ด ์—†๊ธฐ ๋•Œ๋ฌธ์— ์š”์ฒญ์ด ์ ์šฉ๋˜์ง€ ์•Š์•˜์Œ์„ ๋‚˜ํƒ€๋ƒ…๋‹ˆ๋‹ค.

์ด ์ƒํƒœ๋Š” WWW-Authenticate ํ—ค๋”์™€ ํ•จ๊ป˜ ์ „์†ก๋˜๋ฉฐ, ์ด ํ—ค๋”๋Š” ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์ธ์ฆํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ํฌํ•จํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

์ด ์ƒํƒœ๋Š” 403๊ณผ ๋น„์Šทํ•˜์ง€๋งŒ, 401 Unauthorized์˜ ๊ฒฝ์šฐ์—๋Š” ์ธ์ฆ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.

์ƒํƒœ

401 Unauthorized

์‘๋‹ต ์˜ˆ์‹œ

HTTP/1.1 401 Unauthorized
Date: Wed, 21 Oct 2015 07:28:00 GMT
WWW-Authenticate: Basic realm="Access to staging site"

๋ช…์„ธ

Specification Title
RFC 7235, section 3.1: 401 Unauthorized HTTP/1.1: Authentication

๋ธŒ๋ผ์šฐ์ € ํ˜ธํ™˜์„ฑ

BCD tables only load in the browser

๊ฐ™์ด ๋ณด๊ธฐ