Hi all, recently I met a problem when I use Composer to do a POST request simulation, this request will get a 302 response and Set-Cookie.
But when fiddler automaticly redirected to the next page, the cookies were all lost.
The request is like this:
POST https://booking.flypeach.com/hk HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Content-Length: 342
Content-Type: application/x-www-form-urlencoded; charset=GBK
Host: booking.flypeach.com
Connection: Keep-Alive
Accept-Encoding: gzip,deflate
flight_search_parameter%5B0%5D%5Bdeparture_date%5D=2017%2F04%2F18&flights%5B0%5D%5BfareId%5D=&flight_search_parameter%5B0%5D%5Barrival_airport_code%5D=NGS&child_count=0&infant_count=0&flight_search_parameter%5B0%5D%5Bdeparture_airport_code%5D=KIX&flights%5B0%5D%5BflightId%5D=&adult_count=1&flight_search_parameter%5B0%5D%5Bis_return%5D=false
How to fix this? or this is a bug of Fiddler?
Thanks.