[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Fw: should redirect

  • To: "XML Developers List" <xml-dev@l...>
  • Subject: Fw: should redirect
  • From: "Diana Castillo" <diana@h...>
  • Date: Fri, 25 Nov 2005 19:21:45 +0100

curl redirect
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: 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>

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.