OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Fw: [xml-dev] should redirect

[ Lists Home | Date Index | Thread Index ]

Title: RE: Gta Connection
I dont understand where to put this parameter

http://curl.haxx.se/docs/manpage.html

-L/--location

(HTTP/HTTPS) If the server reports that the requested page has a different
location (indicated with the header line Location:) this flag will let curl
attempt to reattempt the get on the new place. If used together with
-i/--include or -I/--head, headers from all requested pages will be shown. If
authentication is used, curl will only send its credentials to the initial host,
so if a redirect takes curl to a different host, it won't intercept the
user+password. See also --location-trusted on how to change this.

If this option is used twice, the second will again disable location following.

----- Original Message -----
Sent: Friday, November 25, 2005 6:48 PM
Subject: [xml-dev] should redirect

I am getting this html page as a result of some xml requests, do I have to change some settings on my server to get automatically redirected instead of getting this?
 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
<P>The document has moved <A HREF="http://interface.gta-travel.com/gtaapi/RedirectedRequestListenerServlet?TOKEN=REF_66-4402526-349286030166796">here</A>.</P>
<P>Additionally, error 302 Found
 was encountered while attempting to use ErrorDocument to handle the request.
</body></html>




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS