in reply to Re: Question using HTTP::Request::Common
in thread Question using HTTP::Request::Common

Not exactly

I need to post the data included in the script.

  • Comment on Re^2: Question using HTTP::Request::Common

Replies are listed 'Best First'.
Re^3: Question using HTTP::Request::Common
by rhesa (Vicar) on Mar 29, 2007 at 18:57 UTC
    You should reconsider. Let the browser do that.

    Otherwise, if you insist on retrieving the server2 page yourself, then you will have to go all the way and be a proper proxy.

      I can't reconsider or change this... I need to pass the informations using POST method to a java jsp page belonging to a tool in which codes I can't make changes. This tool is in the server2, and I can't change it.
        Can the user reach server2? If so, rewrite the response so that relative urls point there. It should be enough to add a <base href="http://server2/" /> to the head section.