Closed spazm closed 4 years ago
This is still a problem today. I am using https://jigsaw.w3.org/HTTP/ to test this.
$ perl bin/mech-dump --user guest --pass guest https://jigsaw.w3.org/HTTP/Basic/
Error GETing https://jigsaw.w3.org/HTTP/Basic/: Unauthorized at bin/mech-dump line 109.
We are expecting a WWW-Authenticate header, which is included in the 401 response, but we die before we can even get there. I think this is because we've got autocheck
turned on, which makes Mech die on $res->is_error
. We have this on by default.
I am fairly confident we can disable the autocheck
inside of mech-dump
because every request is being checked with is_success
explicitly. There are no tests for the utility at the moment, and I think this ticket is a bit overkill for adding them (although we should maybe have some later).
suntong...@gmail.com reported on Nov 1, 2010
Details
Imported from Google Code issue 185 via archive
WM
Comments
nikolay....@gmail.com commented on Apr 6, 2011 :
petda...@gmail.com commented on Apr 24, 2011 :
WM