public
Description: Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone
Homepage: http://allseeing-i.com/ASIHTTPRequest
Clone URL: git://github.com/pokeb/asi-http-request.git
name age message
file .gitattributes Fri Nov 07 11:58:33 -0800 2008 Try to stop git choking on xcode projects [pokeb]
file .gitignore Sat May 16 05:26:11 -0700 2009 Added up to date GHUnit to project Mac tests no... [pokeb]
file ASIFormDataRequest.h Thu Nov 13 03:24:26 -0800 2008 Added new method to set file data on ASIFormDat... [pokeb]
file ASIFormDataRequest.m Thu Nov 13 03:24:26 -0800 2008 Added new method to set file data on ASIFormDat... [pokeb]
file ASIFormDataRequestTests.h Sat Nov 08 08:19:12 -0800 2008 Added ASINetworkQueue to handle progress and de... [pokeb]
file ASIFormDataRequestTests.m Thu Nov 13 03:24:26 -0800 2008 Added new method to set file data on ASIFormDat... [pokeb]
file ASIHTTPRequest.h Thu Nov 13 03:24:26 -0800 2008 Added new method to set file data on ASIFormDat... [pokeb]
file ASIHTTPRequest.m Mon Nov 17 10:47:18 -0800 2008 Small tweak to fix progress issue when delegate... [pokeb]
file ASIHTTPRequestTests.h Thu Nov 13 03:24:26 -0800 2008 Added new method to set file data on ASIFormDat... [pokeb]
file ASIHTTPRequestTests.m Thu Nov 13 03:24:26 -0800 2008 Added new method to set file data on ASIFormDat... [pokeb]
file ASINetworkQueue.h Tue Nov 11 09:31:02 -0800 2008 Tweak tests to ensure old waitUntilAllOperation... [pokeb]
file ASINetworkQueue.m Wed Nov 12 05:01:01 -0800 2008 Remove debug logging [pokeb]
file ASINetworkQueueTests.h Sat Nov 08 08:19:12 -0800 2008 Added ASINetworkQueue to handle progress and de... [pokeb]
file ASINetworkQueueTests.m Thu Nov 13 03:24:26 -0800 2008 Added new method to set file data on ASIFormDat... [pokeb]
file AppDelegate.h Mon Nov 10 09:41:02 -0800 2008 Big changes to progress tracking: Added ability... [pokeb]
file AppDelegate.m Mon Nov 10 09:41:02 -0800 2008 Big changes to progress tracking: Added ability... [pokeb]
directory English.lproj/ Mon Nov 10 09:41:02 -0800 2008 Big changes to progress tracking: Added ability... [pokeb]
file FirstViewController.h Fri Nov 07 05:37:09 -0800 2008 Refactor: move multipart form stuff into subcla... [pokeb]
file FirstViewController.m Fri Nov 07 05:37:09 -0800 2008 Refactor: move multipart form stuff into subcla... [pokeb]
file Info.plist Mon Jul 14 14:44:28 -0700 2008 First public release [Ben Copsey]
file LICENSE Mon Jul 14 16:27:37 -0700 2008 Added readme with intro and a link to the websi... [Ben Copsey]
file Mac-OS-Sample-Application.pch Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file Mac-OS-Sample-main.m Fri Nov 07 05:37:09 -0800 2008 Refactor: move multipart form stuff into subcla... [pokeb]
file NSHTTPCookieAdditions.h Fri Nov 07 05:37:09 -0800 2008 Refactor: move multipart form stuff into subcla... [pokeb]
file NSHTTPCookieAdditions.m Fri Sep 12 04:46:47 -0700 2008 Moved cookie support over to NSHTTPCookie [pokeb]
file QueueViewController.h Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file QueueViewController.m Mon Nov 10 09:56:13 -0800 2008 Added accurate switch to sample iphone app inte... [pokeb]
file README.textile Thu Nov 13 03:24:26 -0800 2008 Added new method to set file data on ASIFormDat... [pokeb]
file SynchronousViewController.h Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file SynchronousViewController.m Fri Nov 07 05:37:09 -0800 2008 Refactor: move multipart form stuff into subcla... [pokeb]
file Tests-Info.plist Fri Aug 01 05:41:19 -0700 2008 Added basic unit tests Added responseStatusCode... [Ben Copsey]
directory asi-http-request.xcodeproj/ Mon Nov 10 04:08:15 -0800 2008 Added tests for Basic and Digest authentication [pokeb]
file iPhone Sample Application-Info.plist Fri Nov 07 05:53:06 -0800 2008 Added icon [pokeb]
file iPhone-Sample-Application.pch Fri Nov 07 05:37:09 -0800 2008 Refactor: move multipart form stuff into subcla... [pokeb]
file iPhone-Sample-main.m Fri Nov 07 05:37:09 -0800 2008 Refactor: move multipart form stuff into subcla... [pokeb]
file iPhoneSampleAppDelegate.h Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file iPhoneSampleAppDelegate.m Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
file iphone-icon.png Sun Mar 22 04:57:17 -0700 2009 Remove old XCode project, and add two new ones,... [pokeb]
directory iphone-xibs/ Mon Nov 10 09:56:13 -0800 2008 Added accurate switch to sample iphone app inte... [pokeb]
README.textile

ASIHTTPRequest is an easy to use wrapper around the CFNetwork API that makes some of the more tedious aspects of communicating with web servers easier. It is written in Objective-C and works in both Mac OS X and iPhone applications.

It is suitable performing basic HTTP requests and interacting with REST-based services (GET / POST / PUT / DELETE). The included ASIFormDataRequest subclass makes it easy to submit POST data and files using multipart/form-data.

It provides:

  • A straightforward interface for submitting data to and fetching data from webservers
  • Download data to memory or directly to a file on disk(i)
  • The ability to submit files on local drives as part of POST data, compatible with the HTML file input mechanism
  • Easy access to request and response HTTP headers
  • Progress delegates (NSProgressIndicators and UIProgressViews) to show information about download AND upload progress
  • Auto-magic management of upload and download progress indicators for operation queues
  • Basic + Digest authentication support, credentials are automatically for the duration of a session, and can be stored for later in the Keychain.
  • Cookie support
  • Based on NSOperation to make queuing requests and background operation easy
  • Basic unit tests (more to come!)

Documentation is available here.