Home » U++ Library support » U++ Core » [solved]How to disable "auto access redirect url " of the HttpRequest?
[solved]How to disable "auto access redirect url " of the HttpRequest? [message #44690] |
Tue, 26 May 2015 04:46  |
 |
akebee
Messages: 90 Registered: August 2011 Location: China
|
Member |
|
|

HttpRequest req("https://p41-buy.itunes.apple.com/WebObjects/MZFinance.woa/wa /signupWizard");
req.ContentType("multipart/form-data; boundary=DC6F1AC257D578C3E145646D500CAC46");
req.UserAgent("iTunes/11.4 (Windows; Microsoft Windows 7 x64 Ultimate Edition Service Pack 1 (Build 7601)) AppleWebKit/536.30.1");
req.Header("Cache-Control", "no-cache");
req.Header("Accept-Language", "zh-cn, zh;q=0.5");
req.Header("X-Apple-Tz", "28800");
req.Header("X-Apple-Store-Front", "143465-19,17");
req.Header("Connection", "Close");
req.Header("X-Apple-ActionSignature", xSignature);
req.Header("Date", GetDateHttp());
req.Post(data);
String result = req.Execute();
see the picture, i just request the first url https://p41-buy.itunes.apple.com/WebObjects/MZFinance.woa/wa /signupWizard
but the HttpRequest auto request the other two url。
See the first url Response Details, the location is https://p12-buy.itunes.apple.com/WebObjects/MZFinance.woa/wa /signupWizard?Pod=12&PRH=12
i just want the HttpRequest did not auto request the other two url,so that i can request the location next!
-
Attachment: Image 2.png
(Size: 78.73KB, Downloaded 1257 times)
[Updated on: Tue, 26 May 2015 14:00] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Fri May 09 20:24:46 CEST 2025
Total time taken to generate the page: 0.00441 seconds
|