is there any light-weight http request library for iphone?
I know ASIHTTPRequest, but it's too powerful for me. actually, I nerver use some functions it provided. It also has too much dependences.
I also know NSURLConnection, I don't like it, either.
Do I have some other choice??
You can check out the AFNetworking library for iOS, an alternative to ASIHTTPRequest.
Don't like it, whats there not to like. ASIHttpRequest is about the easiest to implement. Only thing easier is using object initWithContentsOfURL method:
NSString *someString = [[NSString alloc] initWithContentsOfURL:[NSURL URLWithString:@"http://some.url/file.ext"]];
But you should really looking into something like AFNetworking, because ASIHttpRequest is no longer being developed by it creator. AFNetworking is really powerful and uses blocks, which keep your coding to a minimum.
ASIHTTPRequest isn't just overkill, it's also officially abandoned and deprecated by its developer. People don't seem to know this, so please help get the word out.
AFNetworking seems to be the heir apparent, though it has competitors.