Commit graph

258 commits

Author SHA1 Message Date
Mattt Thompson
ad04dee34a Merge pull request #844 from karbonworks/master
Add asterisk (*) as a percent escaped character...
2013-03-14 12:50:21 -07:00
Mattt Thompson
167aeb1be0 Minor formatting fixes 2013-03-14 12:48:05 -07:00
Mattt Thompson
f9a0cbff3f Minor formatting fix 2013-03-14 12:46:16 -07:00
Mattt Thompson
52764bfc36 Merge pull request #806 from drodriguez/gh-800-multipart-custom-filename
Add parts with custom file names and MIME types
2013-03-14 12:44:10 -07:00
Joel Parsons
1bd7faf964 changed op_class variable to more objective-c style variable name operationClass 2013-03-12 10:47:45 +00:00
Joel Parsons
6a46815eaf The documentations states registered operation classes are consulted to the reverse order in which they are registered. New registrations are added to the beginning of the array in the register implementation. Fixed using the reverseObjectEnumerator when iterating the array which produced the opposite of documented behaviour. fixes #794 2013-03-11 13:15:19 +00:00
Garrett Murray
953b8623d8 Add asterisk (*) as a percent escaped character since it's in the reserved words per the RFC 2013-03-07 20:42:16 -08:00
Marc Nijdam
63e5f0b57a Adding comma (,) as a percent escaped character since it's in the reserved words per the RFC 2013-02-19 16:01:01 -08:00
Daniel Rodríguez Troitiño
53abb54291 Add method to allow custom file name and content type for multiparts.
The previous method was selecting the file name and the MIME type
automatically depending on the given file URL.

The new method allows specifying a custom file name and a custom
MIME type for the those parts.
2013-02-15 21:13:09 +01:00
Mattt Thompson
cb3744a808 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-02-09 20:22:06 +01:00
Mattt Thompson
caa9551ae4 [Issue #791] Matching operations on request URL path rather than absolute URL string 2013-02-09 19:36:37 +01:00
Zach Waugh
a563b61a34 Ensure content type for path extension doesn't return null 2013-02-09 11:49:06 -05:00
Steven Fisher
b3625ebcd0 Fixed comment typo
Minor typo.
2013-02-07 14:19:54 -08:00
Nick Dawson
5698ab3768 Added support for repeated key value pairs through use of NSSet 2013-02-05 12:46:03 +00:00
Mattt Thompson
fa3a77544f Ignoring -Wcovered-switch-default in AFHTTPBodyPart -hasBytesAvailable 2013-02-04 00:21:42 +01:00
Mattt Thompson
af8ca5af92 Merge branch 'experimental-issue-737'
Conflicts:
	AFNetworking/AFHTTPClient.m
2013-02-01 22:44:16 +00:00
Mattt Thompson
9ae534b94f Limiting default Accept-Language header to 6 languages 2013-02-01 22:43:30 +00:00
Oliver Jones
22c7d4ec96 Fixes warning: weak receiver may be unpredictably set to nil [-Wreceiver-is-weak]
Signed-off-by: Mattt Thompson <m@mattt.me>
2013-02-01 02:45:36 +00:00
Oliver Jones
8558d4d5f0 Fixes warning: multiple methods named 'objectForKey:' found [-Wstrict-selector-match] 2013-02-01 02:43:12 +00:00
Oliver Jones
6b8cdf1581 Fixes warning: multiple methods named 'postNotificationName:object:' found [-Wstrict-selector-match] 2013-02-01 02:42:58 +00:00
Mattt Thompson
74da4493f2 Wrapping AFHTTPBodyPart switch statement with #pragma to ignore -Wcovered-switch-default 2013-02-01 02:39:02 +00:00
Mattt Thompson
eac6ffbb6e Revert "Fixing warning caused by default statement in switch statement that covered all enumeration values"
This reverts commit b5c48f13a1.
2013-01-30 16:25:56 +00:00
Mattt Thompson
b5c48f13a1 Fixing warning caused by default statement in switch statement that covered all enumeration values 2013-01-29 15:31:16 +00:00
Mattt Thompson
83da1edd13 Whitespace formatting by Xcode re-indentation 2013-01-27 12:15:07 -05:00
Mattt Thompson
317dd753d9 [Issue #737] Updating default Accept-Language header value in AFHTTPClient 2013-01-26 11:32:13 -05:00
Mattt Thompson
6a11c82120 Suppressing warning caused by AFHTTPBodyPart -hasBytesAvailable not having default condition in switch statement 2013-01-24 17:01:25 -05:00
Mattt Thompson
23d3bd5af4 Minor reformatting 2013-01-05 23:40:34 -08:00
Mattt Thompson
77471bb994 Merge branch 'stream_exhausted_fix' of https://github.com/aburgel/AFNetworking into aburgel-stream_exhausted_fix 2013-01-05 23:32:36 -08:00
Mattt Thompson
b7ec92850a [Issue #715] Fixing warnings generated by earlier versions of Xcode (/cc Ignacio Rodrigo)
Minor reformatting
2013-01-05 22:19:59 -08:00
Alex Burgel
ecf6899d5f Fix request stream exhaustion error by copying the original NSInputStream 2013-01-05 15:10:47 -05:00
Mattt Thompson
6cf45650e2 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-01-04 12:56:53 -08:00
Mattt Thompson
c6137914fa Adding AFHTTPClient -setDefaultCredential: 2013-01-04 12:52:14 -08:00
Eric Florenzano
a610a89f8c Added single quote to the chars to escape
Ran into some issues with sending an unescaped apostrophe,
but by adding it to the list of characters to escape, this problem
is now fixed for me.
2013-01-03 17:53:30 -08:00
Mattt Thompson
f47c5c6fb5 Merge branch 'master' of https://github.com/tomohisa/AFNetworking into tomohisa-master
Conflicts:
	AFNetworking/AFHTTPClient.m
2012-12-27 16:23:27 -05:00
Mattt Thompson
2ff2fd5f06 Merge branch 'experimental-reachability-leak-fix' 2012-12-27 12:57:25 -05:00
guykogus
6b892ae29c Merge branch 'master' of https://github.com/guykogus/AFNetworking into guykogus-master
Conflicts:
	AFNetworking/AFURLConnectionOperation.m

Signed-off-by: Mattt Thompson <m@mattt.me>
2012-12-27 12:30:42 -05:00
Mattt Thompson
fc60c57fa3 Merge branch 'master' of github.com:AFNetworking/AFNetworking 2012-12-27 12:23:18 -05:00
Mattt Thompson
a9b9ebee37 Asynchronously posting all notifications by dispatching to main 2012-12-27 12:22:46 -05:00
Mattt Thompson
314afe9dc0 [Issue #696] Potentially fixing leak for reachability callback block 2012-12-26 11:37:18 -05:00
Mattt Thompson
4fd322e52d Merge pull request #655 from nsforge/master
Fixed retain cycles that the Xcode4.6DP compiler detected
2012-12-26 07:41:13 -08:00
guykogus
0530c9c107 Implemented usage of instancetype. 2012-12-23 10:59:56 +02:00
Jonathan Beilin
fa0fc535a1 Adding assertion for empty data in -appendPartWithHeaders:body: 2012-12-17 10:31:00 -08:00
Mattt Thompson
0f35164082 Merge branch 'fixes-for-strict-warnings' of https://github.com/ittybittyapps/AFNetworking into ittybittyapps-fixes-for-strict-warnings
Conflicts:
	AFNetworking/AFHTTPClient.m
	AFNetworking/AFHTTPRequestOperation.m
	AFNetworking/AFImageRequestOperation.h
	AFNetworking/AFNetworking.h
	AFNetworking/AFURLConnectionOperation.m
2012-11-30 15:09:11 -08:00
Basil Shkara
99c58dcf08 [Issue #652] Adding early return in -startMonitoringNetworkReachability if network reachability object could not be created (i.e. invalid hostnames)
Signed-off-by: Mattt Thompson <m@mattt.me>
2012-11-30 14:22:05 -08:00
Oliver Jones
d38895e5d8 Fixes warning: enumeration value 'AFFinalBoundaryPhase' not explicitly handled in switch [-Werror,-Wswitch-enum] 2012-11-30 18:14:26 +11:00
Oliver Jones
b64c6bd846 Fixes warning: atomic by default property 'X' has a user defined getter (property should be marked 'atomic' if this is intended) [-Werror,-Wcustom-atomic-properties] 2012-11-30 18:13:43 +11:00
Oliver Jones
b75c673a2c Fixes warning: 'X' is not defined, evaluates to 0 [-Werror,-Wundef] 2012-11-30 18:12:47 +11:00
Oliver Jones
f4d25341cf Fixing tabs/spaces whitespace inconsistency. 2012-11-29 19:08:41 +11:00
Oliver Jones
3997dbb7e9 Fixes warning: multiple methods named 'selector' found [-Werror,-Wstrict-selector-match] 2012-11-29 18:46:04 +11:00
Oliver Jones
debd442903 Fixes warning: unused parameter 'x' [-Werror,-Wunused-parameter] 2012-11-29 18:03:34 +11:00