Closed GoogleCodeExporter closed 9 years ago
Hi,
auth().basic() expects the server to challenge with a basic auth request. What
you're looking for is probably preemptive basic auth which adds the header
without being challenged. So use
auth(). preemptive().basic("username", "password") instead.
Original comment by johan.ha...@gmail.com
on 5 Nov 2012 at 5:38
Ah, I see. I never knew there was a challenge version of basic authentication,
you learn something new every day.
Thanks, web services (and testing them) has never been so easy because of you.
Cheers,
Dave Woldrich
Original comment by dwoldr...@gmail.com
on 11 Nov 2012 at 12:15
Thanks :)
Original comment by johan.ha...@gmail.com
on 11 Nov 2012 at 10:37
Original issue reported on code.google.com by
dwoldr...@gmail.com
on 4 Nov 2012 at 8:45