|
|
Posted by Janwillem Borleffs on 06/16/05 12:44
neeper wrote:
A: Because questions are followed by answers
Q: Why shouldn't I top post?
> is $response contents of the page, what if the page has a custom error
> message with an image without '401' in html. Will the 401 still be
> caught as a server error message response?
>
>
What you are trying test is HTTP Basic Authentication, which means that
a 401 header is sent to the browser when the credentials are not
supplied or incorrect.
In all other cases, you will get a 200, 301, 302 etcetera as the
response code.
JW
Navigation:
[Reply to this message]
|