in reply to Re^2: Submitting queries to server
in thread Submitting queries to server

What does the result page look like when you request it in a browser, specifically the headers? If the site has a form that you can submit for a normal search request, you may want to look at the source of that form page as well to see what they send along.

It looks like maybe they are doing some sort of detection and incorrectly assuming you re-submitted an old form?

Replies are listed 'Best First'.
Re^4: Submitting queries to server
by Anonymous Monk on Sep 15, 2005 at 13:16 UTC
    The header look like this:
    <HEAD><TITLE>babababa..</TITLE> <META HTTP-EQUIV="Expires" CONTENT="0"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> </HEAD><BODY BGCOLOR='#FFFFFF'>
    Yup, this web server has its own form. My script includes all the parameters from the original form, except all hidden and default values.

    The result page should be redirected and I will obtain the final one. But the response I got tell me there is no redirection. I used push @{ $ua->requests_redirectable }, 'POST'; as POST can't redirect automatically.

      The parent meant the HTTP header, not the HTML one. That's where the redirection command is located. You might have seen redirections in the HTML header in HTTP-EQUIV tags on other sites, but HTTP-EQUIV means "should be in the HTTP header".

      If you still have problems, show us the HTTP header.

        Sorry, what should I do to show you HTTP header? Actually I'm new to this.