iOS Open Source: ASIHTTPRequest

This weeks iOS Open Source project is ASIHTTPRequest, a wrapper around the CFNetwork API to simplify working with web servers. One of the primary benefits of ASIHTTPRequest is its range of features for most anything web server related, all rolled into one library.

Below is just a taste of what you’ll find in ASIHTTPRequest:

– Submit and retrieve data
– Access request and response headers
– Background task support on iOS4+
– Using delegates, manage progress indicators (for upload/download)
– Content downloaded can be stored in memory or written to disk
– Persistent connections and synchronous/asynchronous requests
– Cookie support
– Proxy support
– Rackspace and Amazon S3

I’ve worked with ASIHTTPRequest on a sizeable iPhone/iPad project that was entirely web-server centric, this framework was a significant time saver, well worth a look.


ASIHTTPRequest was created by Ben Copsey of All-Seeing Interactive.


Download the Source Code: Github project page

Developer Community: Google Group

ASIHTTPRequest license information.

Suggestions For Open Source Projects?

If you have written, worked with or otherwise know of an interesting open source project, one that is focused on iOS development, feel free to send me a note. Even a simple class/category that offers something useful is welcome. Contact me with ideas and suggestions.

  1. Thanks for your suggestion. I used this lib for my project but i have problem is:
    When i download a large file from server. Any other connection always fail by request timeout. Can you help me avoid this issue?

  2. Thanks for your suggestion. i recently added this lib for my project and i seem to be having some problems compiling. It says that some .o file has a problem linking with my project. Apple MACH-O linker error! “ld: library not found for -lsystem_network
    Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/clang failed with exit code 1”

    I read that this open source project is up to ios4 . Is it compatible with ios5 yet? Does anyone else have this problem?


    • Benjamin, might be worthwhile to see if there is a forum/help on the developers website. Please let us know what you find. John

      • apparently i had a bad update on my xCode and there was a corrupt libz file. i just had to reupdate thats all.
        random stuff. But thank god i found the error!


        no real problem with the ios4+ updates

Comments are closed.