Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parse Authorization header with method
before => Authorization: cnVtaWRpZXI6MTIzNA after => Authorization: Basic cnVtaWRpZXI6MTIzNA http://en.wikipedia.org/wiki/Basic_access_authentication > The Authorization header is constructed as follows: > 1. Username and password are combined into a string "username:password" > 2. The resulting string literal is then encoded using Base64 > 3. The authorization method and a space i.e. "Basic " is then put > before the encoded string. 3번 rule 에 따라 method 를 명시해줘야 합니다. `curl` 의 -u|--user 옵션을 사용해서 test req 를 쉽게 만들 수 있습니다.
- Loading branch information