Added readme with intro and a link to the website
Small fix to license
Showing
4 changed files
with
39 additions
and
52 deletions
| @@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
| 15 | * THIS SOFTWARE IS PROVIDED BY All-Seeing Interactive ''AS IS'' AND ANY | 15 | * THIS SOFTWARE IS PROVIDED BY All-Seeing Interactive ''AS IS'' AND ANY |
| 16 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | 16 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 17 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 17 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 18 | -* DISCLAIMED. IN NO EVENT SHALL <copyright holder> BE LIABLE FOR ANY | 18 | +* DISCLAIMED. IN NO EVENT SHALL All-Seeing Interactive BE LIABLE FOR ANY |
| 19 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 19 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 20 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 20 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 21 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 21 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
README
0 → 100644
| 1 | +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. | ||
| 2 | + | ||
| 3 | +It is suitable for when you want to submit data to an existing web form, or don't want to mess around with SOAP or XML-RPC. | ||
| 4 | + | ||
| 5 | +It provides: | ||
| 6 | + | ||
| 7 | +* Ability for setting up progress delegates (e.g. NSProgressIndicators) to show information about download AND upload progress | ||
| 8 | + | ||
| 9 | +* An easy interface for adding POST data to requests | ||
| 10 | + | ||
| 11 | +* The ability to submit files on local drives as part of POST data, analogous to the HTML file input mechanism | ||
| 12 | + | ||
| 13 | +* Basic authentication (username and password) support | ||
| 14 | + | ||
| 15 | +* Integrated Keychain support | ||
| 16 | + | ||
| 17 | +* Based on NSOperation to make queuing requests and background operation easy | ||
| 18 | + | ||
| 19 | + | ||
| 20 | +ASIHTTPRequest comes as part of a simple application that demonstrates many of the features above, just look at AppDelegate.m for good pointers on basic usage, or read the comments in ASIHTTPRequest.h for more detail. | ||
| 21 | + | ||
| 22 | +ASIHTTPRequest is partly based on code from Apple's ImageClient code samples, so if it doesn't meet your needs, take a look at their CFNetwork examples for more. | ||
| 23 | +ASIHTTPRequest is my first open source Objective-C code. I hope to expand the class and example application further (unit tests, maybe even iphone examples...) in the coming months. If you find it helpful, please do get in touch! | ||
| 24 | + | ||
| 25 | +See also: | ||
| 26 | +http://allseeing-i.com/ASIHTTPRequest-CFNetwork-wrapper-for-HTTP-requests |
| @@ -197,48 +197,7 @@ | @@ -197,48 +197,7 @@ | ||
| 197 | <key>Notifications</key> | 197 | <key>Notifications</key> |
| 198 | <array/> | 198 | <array/> |
| 199 | <key>OpenEditors</key> | 199 | <key>OpenEditors</key> |
| 200 | - <array> | 200 | + <array/> |
| 201 | - <dict> | ||
| 202 | - <key>Content</key> | ||
| 203 | - <dict> | ||
| 204 | - <key>PBXProjectModuleGUID</key> | ||
| 205 | - <string>B513D4520E2BE8A9000A50C6</string> | ||
| 206 | - <key>PBXProjectModuleLabel</key> | ||
| 207 | - <string>ASIHTTPRequest.m</string> | ||
| 208 | - <key>PBXSplitModuleInNavigatorKey</key> | ||
| 209 | - <dict> | ||
| 210 | - <key>Split0</key> | ||
| 211 | - <dict> | ||
| 212 | - <key>PBXProjectModuleGUID</key> | ||
| 213 | - <string>B513D4530E2BE8A9000A50C6</string> | ||
| 214 | - <key>PBXProjectModuleLabel</key> | ||
| 215 | - <string>ASIHTTPRequest.m</string> | ||
| 216 | - <key>_historyCapacity</key> | ||
| 217 | - <integer>0</integer> | ||
| 218 | - <key>bookmark</key> | ||
| 219 | - <string>B513D49B0E2BF854000A50C6</string> | ||
| 220 | - <key>history</key> | ||
| 221 | - <array> | ||
| 222 | - <string>B513D4110E2BE42A000A50C6</string> | ||
| 223 | - </array> | ||
| 224 | - </dict> | ||
| 225 | - <key>SplitCount</key> | ||
| 226 | - <string>1</string> | ||
| 227 | - </dict> | ||
| 228 | - <key>StatusBarVisibility</key> | ||
| 229 | - <true/> | ||
| 230 | - </dict> | ||
| 231 | - <key>Geometry</key> | ||
| 232 | - <dict> | ||
| 233 | - <key>Frame</key> | ||
| 234 | - <string>{{0, 20}, {1475, 777}}</string> | ||
| 235 | - <key>PBXModuleWindowStatusBarHidden2</key> | ||
| 236 | - <false/> | ||
| 237 | - <key>RubberWindowFrame</key> | ||
| 238 | - <string>190 -332 1475 818 0 0 1440 878 </string> | ||
| 239 | - </dict> | ||
| 240 | - </dict> | ||
| 241 | - </array> | ||
| 242 | <key>PerspectiveWidths</key> | 201 | <key>PerspectiveWidths</key> |
| 243 | <array> | 202 | <array> |
| 244 | <integer>-1</integer> | 203 | <integer>-1</integer> |
| @@ -272,6 +231,8 @@ | @@ -272,6 +231,8 @@ | ||
| 272 | <key>Layout</key> | 231 | <key>Layout</key> |
| 273 | <array> | 232 | <array> |
| 274 | <dict> | 233 | <dict> |
| 234 | + <key>BecomeActive</key> | ||
| 235 | + <true/> | ||
| 275 | <key>ContentConfiguration</key> | 236 | <key>ContentConfiguration</key> |
| 276 | <dict> | 237 | <dict> |
| 277 | <key>PBXBottomSmartGroupGIDs</key> | 238 | <key>PBXBottomSmartGroupGIDs</key> |
| @@ -315,7 +276,7 @@ | @@ -315,7 +276,7 @@ | ||
| 315 | <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> | 276 | <key>PBXSmartGroupTreeModuleOutlineStateSelectionKey</key> |
| 316 | <array> | 277 | <array> |
| 317 | <array> | 278 | <array> |
| 318 | - <integer>5</integer> | 279 | + <integer>3</integer> |
| 319 | <integer>1</integer> | 280 | <integer>1</integer> |
| 320 | <integer>0</integer> | 281 | <integer>0</integer> |
| 321 | </array> | 282 | </array> |
| @@ -351,14 +312,12 @@ | @@ -351,14 +312,12 @@ | ||
| 351 | <key>Dock</key> | 312 | <key>Dock</key> |
| 352 | <array> | 313 | <array> |
| 353 | <dict> | 314 | <dict> |
| 354 | - <key>BecomeActive</key> | ||
| 355 | - <true/> | ||
| 356 | <key>ContentConfiguration</key> | 315 | <key>ContentConfiguration</key> |
| 357 | <dict> | 316 | <dict> |
| 358 | <key>PBXProjectModuleGUID</key> | 317 | <key>PBXProjectModuleGUID</key> |
| 359 | <string>1CE0B20306471E060097A5F4</string> | 318 | <string>1CE0B20306471E060097A5F4</string> |
| 360 | <key>PBXProjectModuleLabel</key> | 319 | <key>PBXProjectModuleLabel</key> |
| 361 | - <string>ASIHTTPRequest.m</string> | 320 | + <string>AppDelegate.m</string> |
| 362 | <key>PBXSplitModuleInNavigatorKey</key> | 321 | <key>PBXSplitModuleInNavigatorKey</key> |
| 363 | <dict> | 322 | <dict> |
| 364 | <key>Split0</key> | 323 | <key>Split0</key> |
| @@ -366,20 +325,20 @@ | @@ -366,20 +325,20 @@ | ||
| 366 | <key>PBXProjectModuleGUID</key> | 325 | <key>PBXProjectModuleGUID</key> |
| 367 | <string>1CE0B20406471E060097A5F4</string> | 326 | <string>1CE0B20406471E060097A5F4</string> |
| 368 | <key>PBXProjectModuleLabel</key> | 327 | <key>PBXProjectModuleLabel</key> |
| 369 | - <string>ASIHTTPRequest.m</string> | 328 | + <string>AppDelegate.m</string> |
| 370 | <key>_historyCapacity</key> | 329 | <key>_historyCapacity</key> |
| 371 | <integer>0</integer> | 330 | <integer>0</integer> |
| 372 | <key>bookmark</key> | 331 | <key>bookmark</key> |
| 373 | - <string>B513D49A0E2BF854000A50C6</string> | 332 | + <string>B513D4D10E2C02B0000A50C6</string> |
| 374 | <key>history</key> | 333 | <key>history</key> |
| 375 | <array> | 334 | <array> |
| 376 | <string>B513D3E90E2BD48A000A50C6</string> | 335 | <string>B513D3E90E2BD48A000A50C6</string> |
| 377 | <string>B513D3EA0E2BD48A000A50C6</string> | 336 | <string>B513D3EA0E2BD48A000A50C6</string> |
| 378 | <string>B513D4170E2BE8A9000A50C6</string> | 337 | <string>B513D4170E2BE8A9000A50C6</string> |
| 379 | <string>B513D41B0E2BE8A9000A50C6</string> | 338 | <string>B513D41B0E2BE8A9000A50C6</string> |
| 339 | + <string>B513D4CD0E2C02B0000A50C6</string> | ||
| 340 | + <string>B513D4CE0E2C02B0000A50C6</string> | ||
| 380 | <string>B513D4930E2BF854000A50C6</string> | 341 | <string>B513D4930E2BF854000A50C6</string> |
| 381 | - <string>B513D4940E2BF854000A50C6</string> | ||
| 382 | - <string>B513D4950E2BF854000A50C6</string> | ||
| 383 | </array> | 342 | </array> |
| 384 | <key>prevStack</key> | 343 | <key>prevStack</key> |
| 385 | <array> | 344 | <array> |
| @@ -560,6 +519,8 @@ | @@ -560,6 +519,8 @@ | ||
| 560 | <string>B513D4970E2BF854000A50C6</string> | 519 | <string>B513D4970E2BF854000A50C6</string> |
| 561 | <string>B513D4980E2BF854000A50C6</string> | 520 | <string>B513D4980E2BF854000A50C6</string> |
| 562 | <string>B513D4990E2BF854000A50C6</string> | 521 | <string>B513D4990E2BF854000A50C6</string> |
| 522 | + <string>B513D4CF0E2C02B0000A50C6</string> | ||
| 523 | + <string>B513D4D00E2C02B0000A50C6</string> | ||
| 563 | </array> | 524 | </array> |
| 564 | </dict> | 525 | </dict> |
| 565 | <key>SplitCount</key> | 526 | <key>SplitCount</key> |
| @@ -753,11 +714,11 @@ | @@ -753,11 +714,11 @@ | ||
| 753 | <integer>5</integer> | 714 | <integer>5</integer> |
| 754 | <key>WindowOrderList</key> | 715 | <key>WindowOrderList</key> |
| 755 | <array> | 716 | <array> |
| 717 | + <string>B513D4520E2BE8A9000A50C6</string> | ||
| 756 | <string>1C530D57069F1CE1000CFCEE</string> | 718 | <string>1C530D57069F1CE1000CFCEE</string> |
| 757 | <string>B513D2650E2B507F000A50C6</string> | 719 | <string>B513D2650E2B507F000A50C6</string> |
| 758 | <string>B513D2660E2B507F000A50C6</string> | 720 | <string>B513D2660E2B507F000A50C6</string> |
| 759 | <string>B5ABC8410E24CDE70072F422</string> | 721 | <string>B5ABC8410E24CDE70072F422</string> |
| 760 | - <string>B513D4520E2BE8A9000A50C6</string> | ||
| 761 | <string>1C78EAAD065D492600B07095</string> | 722 | <string>1C78EAAD065D492600B07095</string> |
| 762 | <string>1CD10A99069EF8BA00B06720</string> | 723 | <string>1CD10A99069EF8BA00B06720</string> |
| 763 | <string>/Users/ben/asi-http-request/asi-http-request.xcodeproj</string> | 724 | <string>/Users/ben/asi-http-request/asi-http-request.xcodeproj</string> |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment