curl-and-php
https, redirection and http connection through cURL (without SSL).
Date: Tue, 30 Sep 2003 19:04:13 +0530
Hello,
I have a problem, while fetching the data from the website which is using https protocol.
Here redirection is happenig thrice because of which the last https gives the error as
HTTP Error was could not parse the protocol line
The link which i tried to prase was
https://www.ata.com/travel/air/airFlightSelection.jsp?storefront=1001Actually this link is got when we go through two other links where the search is given.So the first link ishttp://www.ata.comfrom here the form gets submitted to https://www.ata.com/flight_search_handler.html?departAirportLeg1=MDW&departDate1=10/1/03&arrivalAirportLeg1=MDW&departDate2=10/18/03&roundTripOneWay=RT&numberAdults=1&numberChildren=0&numberSeniors=0¤tPage=homePageSearch&departTime1=0700&departTime2=1900&searchPage=regular&buttonClicked=submit&x=55&y=5which is based on the search you doFrom here it is redirected to the page https://www.ata.com/travel/air/airFlightSearchHandler.jsp?departAirportLeg1=MDW&departDate1=10/1/03&arrivalAirportLeg1=MDW&departDate2=10/18/03&roundTripOneWay=RT&numberAdults=1&numberChildren=0&numberSeniors=0¤tPage=homePageSearch&departTime1=0700&departTime2=1900&searchPage=regular&buttonClicked=submit&x=55&y=5From here the redirection is done to the pagehttps://www.ata.com/travel/air/airFlightSelection.jsp?storefront=1001and in the final page i am supposed to get the detail about the search i have done for.but on the last page i get the error of "HTTP Error was could not parse the protocol line"Can you suggest or tell what could be possibly wrong here.Here cURL is used to form the http connections and cURL is standalone.Thankyou,Shamsheer.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-30