[Http-webtest-general] HTTP::WebTest::Request bug?
Brought to you by:
m_ilya,
richardanderson
From: Brian W. <bw...@ya...> - 2003-07-07 21:37:09
|
Hello, I noticed that HTTP::WebTest::Request module reformats that url during the tests. I have run into a problem when using wt to test web pages that redirect you to another web page. I am trying to test the return code of a url that looks something like: http://website.com?http://website2.com?var=val It appears that HTTP::WebTest::Request::uri is encoding everything after the first question mark. This behavior is different than HTTP::Request::uri and consequently, web test reports a 403 error instead of a 200. If I manually remove the uri method from HTTP::WebTest::Request (so it will use the method from the base class), then the test returns a 200 code. Is there an easy way to tell HTTP::WebTest::Request::uri to behave the same as HTTP::Request? Is there another way to get the test to succeed for this url? Thanks. - Brian __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |