2009-07-15 5 views
1

저는 인터넷에서이 문제에 대한 해결책을 찾고 있었으며 어디서나 찾을 수 없었습니다.클래식 ASP : "Authorization"헤더 받기

내 로컬 컴퓨터에 설치를 ASP 페이지에 대한 피들러를 통해 간단한 POST 요청을했습니다 :

Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash 
Accept-Language: en-us 
Accept-Encoding: gzip, deflate 
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727) 
Host: localhost 
Connection: Keep-Alive 
Authorization: Basic xW91bsdtcyNqYTpfs8Jkb4ql 
Content-Length: 9 

asdfdfdsf 

ASP 페이지는 다음 줄이 포함되어 밖으로 쓰는 대신

Response.Write(Request.ServerVariables("HTTP_Authorization")) 

을 " 기본 ..... ", 아무것도 쓰지 않습니다. "HTTP_Authorization"을 다른 헤더 (HTTP_Content_Length)로 변경하면 해당 값을 가져올 수 있습니다.

ASP에서 특정 헤더를 보지 못하게하는 이유가 있습니까?

감사합니다. 분명히

답변

0

인증 서버의 창에 의해 제거되고 있었다 나는 "Windows 통합 인증"을 선택 취소 및 헤더가 제대로

을 보여주는 시작