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.

Need Your Help

Windows in asyncore, asynchat

python python-2.7 asyncore

I am trying to create an chat program using python in mac os x python 2.7.5.

Using jQuery ajax() to POST to a Tastypie resource results in a 404

jquery ajax django tastypie

I can't seem to see what I'm doing wrong. Everything works in Postman, so I know the API is fine. I suspect that I'm doing something wrong with the ajax.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.