Mattt Thompson
8007f0aade
Fixing default implementation of AFHTTPRequestOperation +HTTPRequestOperationWithRequest:success:failure: not return nil
2011-10-24 09:48:19 -05:00
Mattt Thompson
1ba0d22b45
Adding _AFNETWORKING_ definition to header
2011-10-24 09:09:33 -05:00
Mattt Thompson
25ea84a891
Changing -hasContent to readonly @property
...
Changing conditions of not having property to be either length == 0 or status code == 204
2011-10-21 13:56:31 -05:00
dstnbrkr
71a7a06649
Only check content type when response has content.
2011-10-21 10:59:59 -07:00
Mattt Thompson
67d8d043c9
Merge pull request #84 from dstnbrkr/return-http-error-or-json-error
...
Return JSON error or HTTP error.
2011-10-21 09:12:53 -07:00
Mattt Thompson
e85756ff4c
Merge branch 'ignore-content-type' of https://github.com/dstnbrkr/AFNetworking into dstnbrkr-ignore-content-type
...
Conflicts:
AFNetworking/AFHTTPRequestOperation.m
2011-10-21 11:09:15 -05:00
dstnbrkr
256704ee96
Ignore content type if content has zero length.
2011-10-20 11:22:33 -07:00
Mattt Thompson
c6735ffb76
Pedantically reordering conditions for acceptable content type
2011-10-20 13:03:32 -05:00
Dustin Barker
c9546830e0
Ignore Content-Type for 204 No Content response.
2011-10-20 00:24:27 -07:00
Dustin Barker
b906b62c59
Return JSON error or HTTP error.
2011-10-19 22:33:09 -07:00
Mattt Thompson
810096b37d
Merge pull request #76 from evanlong/master
...
Fixing a couple of issues in the JSON and XML operation classes
2011-10-18 08:58:39 -07:00
Mattt Thompson
1de3d17548
[Issue #77 ] Returning correct error ivar in AFHTTPRequestOperation -error
2011-10-18 10:56:35 -05:00
Evan Long
436fbe82d1
AFJSONRequestOperation.m:
...
-Fixing an issue where all JSON parse errors are ignored. The operation.error
was always being set to nil no what responseJSON set the error property to.
AFXMLRequestOperation.m:
-Making sure the success callback for the iOS case is run on the main thread
2011-10-17 14:20:31 -07:00
Mattt Thompson
3040aafee9
[Issue #72 ] More fixes to construction of URL from relative path, preventing scheme from incorrectly changing :// to :/
2011-10-17 14:35:56 -05:00
Mattt Thompson
68ef25cb7c
[Issue #72 ] Fixing construction of URL from path relative to base URL, where trailing slash is removed
2011-10-13 14:32:17 -05:00
Mattt Thompson
b811dc1e94
Merge branch 'master' of github.com:gowalla/AFNetworking
2011-10-13 12:57:46 -05:00
Mattt Thompson
4a93904566
Set text encoding for -responseString to UTF-8 by default, in case an encoding is not set in the response
2011-10-13 12:57:39 -05:00
Dick Brouwer
78242fd6a3
Fixed no content response bug
2011-10-12 16:42:31 -07:00
Mattt Thompson
8da80668f4
Fixing formatting of AFHTTPClient documentation
2011-10-12 11:46:56 -05:00
Mattt Thompson
70be906529
Adding AFNetworkActivityIndicatorManager to AFNetworking.h
2011-10-12 11:11:38 -05:00
Mattt Thompson
207b914545
Improving documentation of AFHTTPClient, especially concerning its automatic content parsing behavior
2011-10-12 11:07:01 -05:00
Mattt Thompson
c492d488d8
Further documentation revisions
2011-10-12 10:42:53 -05:00
Mattt Thompson
b8ca3496f8
Adding -unregisterHTTPOperationClass to AFHTTPClient
...
Removing 'Accept: applciation/json' default header from AFHTTPClient
Revising documentation for AFHTTPClient
2011-10-12 10:41:59 -05:00
Mattt Thompson
e9855af89d
Fixing race condition in UIImageView category with cached images. Thanks @iwat (Chaiwat S.)
2011-10-11 17:07:27 -05:00
Mattt Thompson
e7f799484a
Adding Mac user agent to AFHTTPClient. Thanks to @Sutto (Darcy Laycock)
2011-10-11 16:55:14 -05:00
Mattt Thompson
a84be8b922
Mass edits and fixes to documentation
2011-10-11 16:48:10 -05:00
Mattt Thompson
49d5c65687
Documentation for AFHTTPClient and AFHTTPClientOperation protocol
2011-10-11 16:47:59 -05:00
Mattt Thompson
340fbf19eb
Documentation for AFHTTPRequestOperation and subclasses
...
Removing public accessor for property list format property
2011-10-11 16:08:46 -05:00
Mattt Thompson
f04c832f4f
Documentation for AFHTTPRequestOperation
2011-10-11 15:46:01 -05:00
Mattt Thompson
840eca217c
Documentation for AFURLConnectionOperation
2011-10-11 15:27:36 -05:00
Mattt Thompson
4f09d2c1bf
Rearranging imports, like a pedant
2011-10-11 12:26:49 -05:00
Mattt Thompson
e46b9e620b
Conditionally adding default user agent header
2011-10-11 12:26:34 -05:00
Mattt Thompson
b626edf490
Removing dispatch to main queue to set completion block, since that causes deadlock in (at least) iOS 5 and Mac OS 10.7
2011-10-11 12:26:21 -05:00
Mattt Thompson
d263d0d73d
Adding AFURLConnectionOperation to main header
2011-10-11 10:59:00 -05:00
Mattt Thompson
d2be778f9c
Adding missing early return in setCompletionBlock:
2011-10-11 10:52:16 -05:00
Mattt Thompson
440b403f39
Adding additional pre-processor directives for network activity indicator manager
2011-10-11 10:44:39 -05:00
Mattt Thompson
13bc4cfc41
Fixing pre-processor directives for XML request operation
2011-10-11 10:41:53 -05:00
Mattt Thompson
53d61e7eb2
Adding pre-processor directives to conditionally compile Mac equivalent of UIKit-dependent APIs
2011-10-11 10:39:41 -05:00
Mattt Thompson
72090fd4e2
Adding native JSON serialization macro check for Mac
2011-10-11 10:22:40 -05:00
Mattt Thompson
4c7816e716
Adding conditional NSXMLDocument support for Mac platform
2011-10-11 10:20:22 -05:00
Mattt Thompson
70351a51e1
Adding 0.7 classes to main header
2011-10-11 10:20:01 -05:00
Mattt Thompson
7e4b224154
Cleaning up merge with experimental-0.7
2011-10-11 10:05:07 -05:00
Mattt Thompson
358ecb568c
Merge branch 'experimental-0.7' into experimental-mac
...
Conflicts:
AFNetworking/AFHTTPRequestOperation.m
AFNetworking/AFImageRequestOperation.h
AFNetworking/AFImageRequestOperation.m
AFNetworking/AFNetworkActivityIndicatorManager.m
2011-10-11 10:01:44 -05:00
Mattt Thompson
191b378038
Adding missing macros for iOS conditional compilation of activity indicator manager
2011-10-11 10:00:09 -05:00
Mattt Thompson
80a0c65608
Merge branch 'master' into experimental-mac
...
Conflicts:
AFNetworking/AFNetworkActivityIndicatorManager.m
iOS Example/AFNetworking iOS Example.xcodeproj/project.pbxproj
2011-10-11 09:58:00 -05:00
Mattt Thompson
95bcd2278c
Only execute in main queue
2011-10-10 13:26:17 -05:00
Mattt Thompson
f1fa6f1a6f
[Issue #56 ] Wrapping completion block in async_dispatch to main queue
2011-10-10 13:18:41 -05:00
Mattt Thompson
b7724922c4
Refactoring image request operation
2011-10-10 13:06:12 -05:00
Mattt Thompson
3e27e189ee
Adding missing release for _acceptableContentTypes in AFHTTPRequestOperation -dealloc
2011-10-10 13:05:47 -05:00
Mattt Thompson
ce9872965c
[Issue #56 ] Fixing 'The Dealloc Problem'
2011-10-10 13:05:22 -05:00