Mattt Thompson
d97356c35c
Use isEqual: to determine if value is NSNull
2012-10-05 09:12:00 -07:00
Mattt Thompson
ce39687065
Merge pull request #559 from danielr/fix-nsnull-in-multipart
...
NSNull parameters are encoded as "<null>" when using multipart form data
2012-10-05 09:10:20 -07:00
Daniel Rinser
d8f074dcfa
[Issue #559 ] Fixed body for NSNull parameter values in multipart/form-data requests
...
Parts for parameters with a value of NSNull now have an empty body rather than "<null>" (which was produced by -[NSNull description]).
2012-10-05 15:56:48 +02:00
Mattt Thompson
79f743c319
Merge pull request #558 from rastersize/fix-upload-stream-delay-type
...
Fix type discrepancy for upload stream delay.
2012-10-04 14:45:14 -07:00
Aron Cedercrantz
48d0bf82d8
Fix type discrepancy for upload stream delay.
...
Signed-off-by: Aron Cedercrantz <aron@cedercrantz.se>
2012-10-04 23:03:54 +02:00
Mattt Thompson
88589cc31e
Updating documentation for multipart form request method
2012-10-03 09:46:06 -07:00
Mattt Thompson
6ed5dad68b
Removing outdated note about 3rd party JSON libraries
2012-10-03 08:52:07 -07:00
Mattt Thompson
43e13be0ba
Merge branch 'master' of github.com:AFNetworking/AFNetworking
...
Conflicts:
AFNetworking/AFHTTPClient.m
2012-10-03 08:50:07 -07:00
Mattt Thompson
3f3a79221a
[Issue #555 ] Leaving square brackets unescaped in query string parameters
2012-10-03 08:49:39 -07:00
Mattt Thompson
f9c0576f89
[Issue #554 ] Re-adding AFMultipartFormData -appendPartWithHeaders:body:
2012-10-03 08:37:25 -07:00
Mattt Thompson
b118e93986
Merge pull request #547 from jbrennan/bugfix/httpclient-nil-url-exception
...
-[AFHTTPClient initWithBaseURL:] will now raise an exception with a nil URL parameter.
2012-10-02 09:47:47 -07:00
Mattt Thompson
9cdea00b07
[Issue #548 ] Reverting breaking changes from b317c7d5d9
2012-10-02 09:41:57 -07:00
Jason Brennan
284f57d39f
-initWithBaseURL: will now raise an exception with a nil URL parameter. This enforces what the code comments say.
...
Without this, Reachability might cause the application to crash on iOS 6 if the baseURL is nil.
2012-10-02 10:53:07 -04:00
Mattt Thompson
25136ddfbe
Fixing misuse of #if instead of #ifdef for AF_DISPATCH_RETAIN_RELEASE
2012-10-01 10:47:17 -07:00
Mattt Thompson
b317c7d5d9
Fixing warnings triggered by -Weverything flag
...
Explicitly covering all enum values in switch statements
Removing unused, unsynthesized properties
Adding missing synthesizers for properties
Fixing misuse of compiler macro
2012-10-01 10:45:43 -07:00
Mattt Thompson
d933fe60e7
Fixing warnings triggered by -Weverything flag
...
Adding __attribute__((noreturn)) to networkRequestThreadEntryPoint
2012-10-01 10:43:12 -07:00
Mattt Thompson
c4a876c70c
Fixing compiler warnings relating to incorrect use of #if rather than #ifdef
2012-10-01 10:41:08 -07:00
Mattt Thompson
89f9094cea
Fixing warnings detected by -Weverything
2012-10-01 10:38:46 -07:00
Mattt Thompson
3ca7762bd2
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2012-09-30 17:38:34 -07:00
Mattt Thompson
1c1b204513
[Issue #546 ][Issue #513 ] Adding AFMultipartFormData -throttleBandwidthWithPacketSize:delay:
2012-09-30 17:38:07 -07:00
Mattt Thompson
d21ae7cbba
Updating notes about ARC and requirements
2012-09-27 09:28:26 -07:00
Mattt Thompson
1ca61bf75c
Merge pull request #541 from tewha/master
...
Add error when building without ARC
2012-09-27 08:51:28 -07:00
Mattt Thompson
ef0505bcae
Merge pull request #543 from blakewatters/bugfix/import-uikit-in-client
...
Conditionally Import UIKit in AFHTTPClient to avoid build errors
2012-09-27 08:50:40 -07:00
Blake Watters
5704f0ae8d
Import UIKit to avoid build errors from UIDevice references in "User-Agent" default header. closes AFNetworking/AFNetworking#542
2012-09-26 20:56:33 -04:00
Steven Fisher
6a0b052659
Add error when building without ARC to a central file.
2012-09-26 16:47:56 -07:00
Mattt Thompson
70b7e0522c
Changing NSError ** parameter to NSError * __autoreleasing *
...
Minor reformatting of AFHTTPClient method signatures
2012-09-26 11:39:28 -07:00
Mattt Thompson
fc16eef8b2
Disabling HTTP pipelining for image request operations
2012-09-25 21:48:25 -07:00
Mattt Thompson
bec09ed3a3
Removing #imports for CoreServices
2012-09-25 12:20:08 -07:00
Mattt Thompson
d67e8a6bd6
Additional refactoring and reformatting
...
Fixing memory management issue in AFContentTypeForPathExtension
2012-09-25 11:06:03 -07:00
Mattt Thompson
5e8fbc0da6
Stashing refactoring and reorganizing
2012-09-25 10:33:46 -07:00
Mattt Thompson
37524696e3
Fixing broken merge
2012-09-25 10:19:15 -07:00
Mattt Thompson
b43aba49fc
Merge branch 'master' into lxcid-experimental-refined-stream
...
Conflicts:
AFNetworking/AFHTTPClient.h
AFNetworking/AFHTTPClient.m
2012-09-25 09:56:34 -07:00
Mattt Thompson
aa55210181
Adding additional documentation about usage for AFNetworkActivityIndicatorManager
2012-09-25 07:24:52 -07:00
Mattt Thompson
68adeab768
Use MAX to constrain _activityCount to non-negative numbers
2012-09-25 07:15:02 -07:00
ap4y
e35a88fdef
Preventing negative values for the activity indicator counter
2012-09-25 07:11:22 -07:00
Stan Chang Khin Boon
f032261cb8
This is a working version of multipart streaming.
...
- Fixed missing CRLF after header string.
- Fixed not traversing through the buffer while reading.
- Fixed content length of body stream are incorrect when attempts to finalize the multipart form data due to boundary settings not set yet.
- Create a method named `setInitialAndFinalBoundaries` that attempts to reset all HTTP body parts boundary settings first before setting the initial and final boundaries.
Tested successfully on my own codes that does photo uploading to Flickr using `appendPartWithFileData:name:fileName:mimeType:`. I have not tried uploading from file URL but don't foresee any issue.
2012-09-25 03:33:51 +08:00
Mattt Thompson
f523744cf0
Minor restructuring of project file and app delegate in example
2012-09-24 08:27:18 -07:00
Mattt Thompson
df140116b8
Moving AFSwizzleClassMethodWithClassAndSelectorUsingBlock function
2012-09-24 08:26:38 -07:00
Mattt Thompson
45880fd9a0
Minor refactoring and reformatting
2012-09-24 08:26:00 -07:00
Mattt Thompson
7147ef61bb
Merge branch 'master' of https://github.com/peymano/AFNetworking into peymano-master
2012-09-24 07:44:34 -07:00
Mattt Thompson
ed7a4331c0
Merge pull request #533 from alloy/master
...
Re-add the prefix header import of SystemConfiguration to the podspec.
2012-09-21 11:24:41 -07:00
Eloy Durán
510e0be4d2
Re-add the prefix header import of SystemConfiguration to the podspec.
2012-09-21 10:33:17 +02:00
Peyman
d59197bca0
Fix parsing of HTTP Accept headers
2012-09-19 16:48:31 -07:00
Mattt Thompson
b43345b8c8
Merge pull request #530 from blakewatters/bugfix/release-reachability-reference
...
Fix for reachability release issue #529
2012-09-19 13:17:27 -07:00
Blake Watters
3589d25652
Set _networkReachability to NULL after releasing. fixes AFNetworking/AFNetworking#529
2012-09-19 16:00:15 -04:00
Mattt Thompson
f0e6b53fe7
Synchronoizing podspec with CocoaPods version
2012-09-17 12:10:43 -07:00
Mattt Thompson
ac19057c72
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2012-09-17 12:03:47 -07:00
Mattt Thompson
2b89ad4c60
Updating podspec to 1.0RC3
2012-09-17 12:03:26 -07:00
Mattt Thompson
7cd20077dc
Updating 1.0RC2 podspec to add requires_arc flag
2012-09-17 12:01:24 -07:00
Mattt Thompson
1994d08c15
Merge pull request #522 from patoroco/master
...
Update some URLs
2012-09-17 11:55:40 -07:00