gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSURLConnection and SSL


From: Maxthon Chan
Subject: Re: NSURLConnection and SSL
Date: Thu, 11 Apr 2013 21:36:43 +0800

Case seemed to be dismissed. This issue seemed is more about reflective KVC.

在 2013-4-11,下午8:51,Maxthon Chan <address@hidden> 写道:

#import <Foundation/Foundation.h>

int main(void)
{
@autoreleasepool
{
NSURL *URL = "" URLWithString:@"https://www.google.com/"];
NSURLRequest *request = [NSURLRequest requestWithURL:URL];
NSHTTPURLResponse *response = nil;
NSError *err = nil;
NSData *data = "" sendSynchronousRequest:request returningResponse:&response error:&err];
NSLog(@"%@, %@, %@", response, err, data);
}
return 0;
}

The data should never be empty.

在 2013-4-11,下午8:12,Richard Frith-Macdonald <address@hidden> 写道:


On 11 Apr 2013, at 10:17, Maxthon Chan wrote:

Well I checked again, the current NSURLCnnection does not seem to work on my Ubuntu VM at all. I built it from scratch. What did I miss?

I don't know ... you would need to provide a sample test program to look at / try out.
It would be great if you could provide testcases for the regression test suite.
There's a little one in NSURL/test00.m



reply via email to

[Prev in Thread] Current Thread [Next in Thread]