It looks like you're new here. If you want to get involved, click one of these buttons!
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@\"http://%@:%@/wa/r/%@?OutputMap=%@\", app_url, app_port, app_name, app_theme]];
// [myLabel setText:[url description]];
// Load URL
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url cachePolicy:NSURLRequestUseProtocolCachePolicy timeoutInterval:60.0];
// iosWV -> webview
[iosWV loadRequest:requestObj];
NSLog(@\"HTTPMethod %@\", [requestObj HTTPMethod]);
NSLog(@\"URL %@\", [requestObj URL]);
NSLog(@\"mainDocumentURL %@\", [requestObj mainDocumentURL]);
NSLog(@\"allHTTPHeaderFields %@\", [requestObj allHTTPHeaderFields]);
NSLog(@\"HTTPBody %@\", [requestObj HTTPBody]);
NSLog(@\"HTTPShouldHandlePipelining %@\", [requestObj HTTPShouldUsePipelining]);
I don't know what to do to access to the other data.2012-05-21 15:26:11.236 Genero[3112:f803] HTTPMethod GET
2012-05-21 15:26:11.238 Genero[3112:f803] URL http://localhost:6363/wa/r/gwc-demo?OutputMap=DUA_HTML5
2012-05-21 15:26:11.238 Genero[3112:f803] mainDocumentURL (null)
2012-05-21 15:26:11.239 Genero[3112:f803] allHTTPHeaderFields (null)
2012-05-21 15:26:11.239 Genero[3112:f803] HTTPBody (null)
2012-05-21 15:26:11.240 Genero[3112:f803] HTTPShouldHandlePipelining (null)
Replies
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Disagree Dislike Like Awesome