Commit Graph

1516 Commits

Author SHA1 Message Date
Maximillian Dornseif
a2a27614ab Ensure only ASCII is used in the User-Agent header.
The charset for HTTP headers has to be ASCII at best
and is ill defined at worst.

My Applikation has a Bundle Name with Umlauts in it
which results in bessy Webserver log files due to the
"strange" engoding of the App name.
To me it seems, that AFNetworking is meant to transcode the
App name to ASCII but the implementation is lacking and thus
only encodes to Latin1/ISO8859-1.
This patch - although not tested with Asian scripts - should
result in User-Agent strings always beeing ASCII while remaining
mostly unchanged.

So `Überland/0.16.27` becomes `Uberland/0.16.27` which is much
more standards compliant.
2013-10-07 14:03:54 -07:00
Mattt Thompson
86dd0a023c [Issue #1438] nil -> NULL for better clarity on unused out parameter 2013-10-07 13:41:13 -07:00
Mattt Thompson
3a4b6c6cfe Merge pull request #1442 from musicchamber/patch-1
Update UIProgressView+AFNetworking.m
2013-10-07 13:38:41 -07:00
Mattt Thompson
ed56712a47 Merge pull request #1443 from kylef/cleanup-unused
Remove the unused protection space block type
2013-10-07 13:35:38 -07:00
Mattt Thompson
46264338b0 Merge pull request #1446 from kylef/ios5
Don't test on iOS 5. AFNetworking doesn't even support iOS 5
2013-10-07 13:34:05 -07:00
Kyle Fuller
e9c66a7687 Don't test on iOS 5. AFNetworking doesn't even support iOS 5 2013-10-04 23:18:07 +01:00
Kyle Fuller
5caef436a7 Remove the unused protection space block type
Related to #1441
2013-10-04 22:55:08 +01:00
Allen Tu
8b29904967 Update UIProgressView+AFNetworking.m
Hi there,
Thanks for the awesome job!!
Just found a tiny bug. I think in Line 174, the selector should be "countOfBytesReceived".
Cheers and have a nice weekend!!

Allen
2013-10-04 12:11:01 -07:00
Mattt Thompson
b34d98f34c Merge pull request #1413 from l4u/patch-2
Update README.md
2013-10-02 09:27:57 -07:00
Leo Lou
1e5124eb68 Update README.md
NSSearchPathForDirectoriesInDomains returns an array of NSString.
The NSString has to be converted to NSURL.
2013-10-02 19:11:32 +08:00
Mattt Thompson
5748f0ba5e Merge pull request #1402 from haikusw/cocoapodspec-AFNetworking.h-fix
Fix for AFNetworking.h left out of cocoapod for AFNetworking. Also Needed conditionalization of Session includes.
2013-10-01 07:29:00 -07:00
Mattt Thompson
31c6c9ae33 Merge pull request #1396 from vlas-voloshin/master
AFURLSessionManager makes invalid initial upload/download task progress updates
2013-10-01 07:23:39 -07:00
Mattt Thompson
1c3e82dc3e Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-10-01 07:17:41 -07:00
Mattt Thompson
0ef5102a3e [Issue #1404] Adding missing #ifdef for iOS 7 compatibility 2013-10-01 07:17:35 -07:00
Mattt Thompson
0964d4a231 Merge pull request #1401 from haikusw/minor-doc-fix
trivial documentation/comments fix
2013-10-01 07:15:13 -07:00
Mattt Thompson
4ea75e5e1d Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-10-01 07:12:07 -07:00
Mattt Thompson
64e1ac1428 [Issue #1406] Fixing request serializers to not override existing header field values with defaults 2013-10-01 07:11:59 -07:00
Tyler
f03b5cf4cc fix cocoa pods pod spec to include AFNetworking.h as it used to; fix AFNetworking.h to work on pre OS X 10.9 & pre iOS 7.0. 2013-09-30 15:31:10 -07:00
Tyler
678b666888 trivial documentation/comments fix
AFHTTPClient -> AFHTTPRequestOperationManager
2013-09-30 15:29:54 -07:00
Mattt Thompson
083e01df1a Merge pull request #1395 from hpique/fix-uiprogressview-category
Fixed exposed private methods in UIProgressView category. Fixes #1394.
2013-09-30 14:59:26 -07:00
Vlas Voloshin
0d3e4ae28d fixed initial upload/download task progress updates 2013-09-30 18:02:58 +04:00
hpique
979dde7bbb Fix names of exposed private methods downloadProgress and uploadProgress 2013-09-30 14:46:59 +02:00
Hermes Pique
02178d8b05 Merge pull request #1 from AFNetworking/master
Update from AFNetworking:master
2013-09-30 05:38:07 -07:00
Mattt Thompson
4081e73892 Merge pull request #1391 from kcharwood/ssl_defaults
Updated ssl pinning mode to have default pinned certificates by default
2013-09-29 15:37:00 -07:00
Kevin Harwood
4350a01571 Updated ssl pinning mode to have default pinned certificates by default 2013-09-29 17:25:34 -05:00
Mattt Thompson
9e71033d1c Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-09-29 11:53:00 -07:00
Mattt Thompson
0604cfd6bb [Issue #1379] Adding missing code macros for iOS 6 compatibility in UIAlertView category 2013-09-29 11:52:53 -07:00
Mattt Thompson
ebd5841cac Update README.md 2013-09-27 12:24:43 -07:00
Mattt Thompson
ee2473f1f4 Merge pull request #1376 from chucks/newline_fix
Fix compiler warning when GCC_WARN_ABOUT_MISSING_NEWLINE is enabled
2013-09-27 12:18:11 -07:00
Chuck Shnider
13166f44e8 Fix compiler warning when GCC_WARN_ABOUT_MISSING_NEWLINE is enabled 2013-09-27 14:32:50 -04:00
Mattt Thompson
872c9537b2 Merge pull request #1375 from soffes/patch-2
Fix example
2013-09-27 11:00:15 -07:00
Sam Soffes
c05330129e Fix example 2013-09-27 10:59:05 -07:00
Mattt Thompson
7f23efdf2f Merge branch 'master' of github.com:AFNetworking/AFNetworking 2013-09-27 10:25:14 -07:00
Mattt Thompson
859132b59b Update README.md 2013-09-27 10:24:45 -07:00
Mattt Thompson
7b8c9eb695 Merge pull request #1374 from tewha/patch-10
Update Prefix.pch
2013-09-27 09:49:38 -07:00
Mattt Thompson
4566201a0d Bumping version to 2.0.0 2013-09-27 09:47:26 -07:00
Mattt Thompson
7570dfa3be Fixing spelling in headers 2013-09-27 09:47:17 -07:00
Mattt Thompson
82fe3f6160 Fixing #ifdef nesting in UIProgressView category 2013-09-27 09:41:55 -07:00
Mattt Thompson
7e1bc36ccd Fixing notification in UIAlertView category 2013-09-27 09:41:15 -07:00
Mattt Thompson
8fb997a8b9 Adding #ifdef compiling macros around NSURLSession APIs 2013-09-27 09:34:38 -07:00
Steven Fisher
a8376b477d Update Prefix.pch
Update required SDK version in example .pch.

Not very important fix, but a 3.0 requirement here seems very strange.
2013-09-27 09:32:05 -07:00
Mattt Thompson
2b51e23712 Bumping version to 2.0.0 2013-09-27 09:27:55 -07:00
Mattt Thompson
e538af46f2 Minor refactoring 2013-09-27 08:59:32 -07:00
Mattt Thompson
eeccdc7717 Minor refactoring for AFNetworkActivityIndicatorManager 2013-09-27 08:53:47 -07:00
Mattt Thompson
34f8cd1114 Adding documentation for UIAlertView category 2013-09-27 08:53:38 -07:00
Mattt Thompson
4945255138 Updating documentation for UIImageView category 2013-09-27 08:53:20 -07:00
Mattt Thompson
a02f52b3b9 Adding documentation for UIActivityIndicatorView category 2013-09-27 08:52:58 -07:00
Mattt Thompson
3bdfefa83b Adding documentation to UIButton category
Switching backing of UIButton category to AFURLConnectionOperation
2013-09-27 08:52:37 -07:00
Mattt Thompson
813ea16a26 Adding documentation to UIProgressView category 2013-09-27 08:52:06 -07:00
Mattt Thompson
0e244d1f7d Documentation fixes
Wrapping iOS 7 / OS X 10.9 only APIs in #ifdef
2013-09-27 08:51:41 -07:00