cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to provoke 407/401 in regerssion tests? (was: Re: Obtaining realm)

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Mon, 17 Nov 2008 14:03:47 -0800

On Mon, Nov 17, 2008 at 10:36:39PM +0100, Josef Wolf wrote:
> Sorry for the late response. While the main patch seems to (mostly)
> work, I got somewhat stuck with the regression test and I have not
> found the time yet to dive deeply enough into the test architecture
> to see how to integrate the new test. I just can't figure out how
> to provoke 407/401 responses with retries from the test infrastructure.

proxytunnel tests are odd in that the test number is given in the port
number argument of the "remote" URL instead of within the URL itself.
Instead of program arguments like:

  http://%HOSTIP:%HTTPSPORT/560 %HOSTIP:%HTTPPORT

try something like:

  http://anything:560/ %HOSTIP:%HTTPPORT

Also note that there's a test 560 already--561 is still free if you hurry!

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-11-17