Mattt Thompson
1822d164d7
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2012-01-16 14:21:47 -08:00
Mattt Thompson
d6d97c7106
Adding missing raise for exception in AFJSONDecode
2012-01-16 14:21:32 -08:00
Mattt Thompson
ae48276092
[Issue #173 ] Fix data length issues in AFBase64EncodedStringFromString
2012-01-16 11:49:30 -08:00
Mattt Thompson
87b5d5a349
Merge pull request #178 from kgn/master
...
JSON exception created but never raised: fix #175
2012-01-16 10:54:04 -08:00
David Keegan
391aa64392
JSON exception created but never raised: fix #175
...
In the JSON decoder an exception was created if a JSON library could not be found, however it was never raised. The exception for encoding was already being raised.
2012-01-16 10:38:25 -08:00
Mattt Thompson
d1b5e285ca
Minor refactoring of XMLDocumentRequestOperationWithRequest:success:failure:
2012-01-10 14:56:55 -08:00
Mattt Thompson
8efa2737e7
Merge branch 'experimental-authentication-challenge'
2012-01-10 14:40:25 -08:00
Jorge Bernal
728f5c3d75
Cancel request if there is an authentication challenge but no credentials for it
...
Conflicts:
AFNetworking/AFURLConnectionOperation.m
2012-01-10 14:40:15 -08:00
Mattt Thompson
bdab46889b
Use nested if/else instead of early return in -connection:didReceiveAuthenticationChallenge:
2012-01-10 13:41:36 -08:00
Mattt Thompson
52559ccec3
Adding documentation to -setReachabilityStatusChangeBlock:
2012-01-10 13:35:41 -08:00
Mattt Thompson
c713179420
Replacing AFNetworkReachabilityStatus type with BOOL
2012-01-10 13:17:27 -08:00
Mattt Thompson
95442be7b3
Initial implementation of network reachability callbacks
2012-01-10 12:20:30 -08:00
Mattt Thompson
2c4a643d7d
Merge pull request #164 from mgp/master
...
Fix up documentation for requestWithMethod:path:parameters:.
2012-01-09 17:13:01 -08:00
Mattt Thompson
c4c6d41fc8
Merge pull request #165 from mgp/patch-1
...
"Content-disposition" should be "form-data" for a single file.
2012-01-09 17:12:15 -08:00
Michael Parker
2183dbbbcc
"Content-disposition" should be "form-data" for a single file.
...
The "Content-disposition" should only be "file" if one of multiple files in a subpart. See the end of http://www.w3.org/TR/html4/interact/forms.html , section 17.13.4, for details. AFNetworking does not currently support creation of subparts where "file" should be used.
This fixes Tornado from failing to parse our file upload.
2012-01-06 21:24:45 -08:00
Michael Parker
87b852700a
Fix up documentation for requestWithMethod:path:parameters:.
...
It is not responsible for finding the registered subclass that can handle a request; instead, it simply builds the request. HTTPRequestOperationWithRequest:success:failure: is responsible for this.
2012-01-05 20:47:59 -08:00
Mattt Thompson
2f2ee796ed
Initial implementation of batched request operations
2011-12-17 23:49:51 -06:00
Mattt Thompson
430d7618e1
Merge pull request #152 from jfrye/master
...
Fixing SBJSON Encoding. Fixes #151
2011-12-17 05:23:30 -08:00
James Frye
44f042512c
Fixing SBJSON encoding
2011-12-16 16:38:13 -05:00
Mattt Thompson
bb7b48e14e
Adding section about execution time and memory constraints of multipart form data construction
2011-12-13 09:55:37 -06:00
Mattt Thompson
a5b33d573a
Minor code formatting
2011-12-13 09:39:31 -06:00
Mattt Thompson
6d15ca8807
Merge branch 'master' of https://github.com/MarrLiss/AFNetworking into MarrLiss-master
2011-12-13 09:38:31 -06:00
Mattt Thompson
4c71f35266
Merge pull request #148 from jakeboxer/patch-1
...
Make JSON requests allow text/javascript content
2011-12-13 07:20:15 -08:00
Jake Boxer
b3244d8e57
Make JSON requests allow text/javascript content
2011-12-11 01:10:01 -08:00
Štěpán Petrů
4c5bdbd7de
Added scaling while constructing image from cached data.
2011-12-10 19:00:49 +01:00
Mattt Thompson
049fef5888
Merge pull request #146 from myell0w/patch-1
...
I promise, this time I really fixed it...
2011-12-10 05:32:03 -08:00
Matthias Tretter
7fdc435980
I promise, this time I really fixed it...
2011-12-10 00:06:57 +01:00
Mattt Thompson
adcd7630aa
Merge pull request #145 from myell0w/patch-1
...
Fixed SBJSON decoding function
2011-12-09 13:15:11 -08:00
Matthias Tretter
09eece4df5
Really fixed SBJSON decoding function ;)
2011-12-09 15:46:55 +01:00
Mattt Thompson
48c6d5c19f
Merge pull request #144 from Reprazent/patch-1
...
Fix podspec
2011-12-08 13:06:17 -08:00
Mattt Thompson
68c572ae32
Refactoring -cancel and -isCancelled
2011-12-08 13:21:23 -06:00
Mattt Thompson
1c606919fc
UIImageView shouldn't set image to placeholder image whenever an old image request comes in
2011-12-08 12:43:39 -06:00
Mattt Thompson
a466c27886
Adding @try/@catch with autorelease pool for exceptions
...
Wrapping -start in lock
2011-12-08 12:42:59 -06:00
Mattt Thompson
680fcd5071
First iteration of thread-safety on AFURLConnectionOperation, using a combination of NSRecursiveLock and common sense
2011-12-08 12:23:58 -06:00
Bob Van Landuyt
3352d869a4
Fix podspec
2011-12-08 18:35:49 +01:00
Mattt Thompson
813df5f8a7
Merge pull request #140 from houseoflegend/master
...
Updated "File Upload with Progress Callback" code snippet in README.md.
2011-12-06 19:24:06 -08:00
Larry Legend
fee500c445
Updated "File Upload with Progress Callback" code snippet in README.md.
...
- Resolved a mismatch between variable names imageData and data.
- Updated to the current appendPartWithFileData:name:fileName:mimeType: method signature.
- Updated to the current upload progress block signature ^(NSInteger bytesWritten, NSInteger totalBytesWritten, NSInteger totalBytesExpectedToWrite) {...}
- Added two lines that create an ad-hoc AFHTTPClient instance, instead of referencing a hypothetical [AFHTTPClient sharedClient] singleton, which new users might be confused by when they're trying to get the example working.
2011-12-04 13:41:10 -05:00
Mattt Thompson
8869bb9ad3
Adding authentication challenge callback block to override default NSURLConnection delegate method implementation
2011-12-04 03:45:02 -06:00
Mattt Thompson
e18c305034
Default implementation for connection:didReceiveAuthenticationChallenge: delegate method
2011-12-04 03:35:21 -06:00
Mattt Thompson
922c617945
Merge pull request #134 from raycmorgan/master
...
Fix issue with multipart boundaries.
2011-11-30 16:36:58 -08:00
Mattt Thompson
739eef83cc
Merge pull request #135 from cameronboehmer/master
...
UIImageView+AFNetworking success callback runs after setting the image
2011-11-30 16:32:41 -08:00
Cameron Boehmer
6415cade69
in UIImageView+AFNetworking, calling net request success callback after setting UIImageView.image (symmetrical with cached image retrieval/callback)
2011-11-29 17:26:33 -08:00
RayMorgan
1561f0392b
Fix issue with multipart form boundaries.
...
The first boundary should not have a preceeding newline. This causes
some multipart parsers to miss the inital boundary.
An example of a parser facing this issue is node-formidable by felixge.
2011-11-29 14:16:48 -08:00
Mattt Thompson
e37c641656
[Issue #124 ] Calling super implementation in -isReady, following the guidelines for NSOperation subclasses
2011-11-22 21:22:13 -06:00
Mattt Thompson
a912382431
Changing connection property from retain to assign, to avoid retain cycle caused by NSURLConnection retaining its delegate
2011-11-22 20:57:39 -06:00
Mattt Thompson
b5849ccd66
Merge branch 'master' of github.com:AFNetworking/AFNetworking
2011-11-22 10:40:11 -06:00
Mattt Thompson
db67a8e996
Adding note about Wiki articles
...
Adding credit to Alan Defibaugh for the AFNetworking logo
Minor edits
2011-11-22 10:40:04 -06:00
Mattt Thompson
627434288a
Adding trailing newline to LICENSE
2011-11-22 10:14:56 -06:00
Mattt Thompson
63dac7c278
Merge pull request #123 from iwat/experimental-fix-upcast
...
[Issue #122 ] Fix unnecessary up-cast of NSHTTPURLResponse
2011-11-22 08:11:28 -08:00
chaiwats
d1d94e6e77
fix unnecessary up-cast as discussed in #122
2011-11-22 16:50:21 +07:00