Fix AFHTTPBodyPart's read:maxLength: method to no longer treat a negative response from -[NSInputStream hasBytesAvailable] as an indication that the stream has come to an end, and instead examine the stream's state.
When AFNetworking is in an embedded framework, load certificates from app bundle
When AFNetworking is in an embedded framework, load certificates from all non-framework bundles
Making AFHTTPRequestOperation.HTTPError atomic.
Now using AFURLConnectionOperation.lock for AFHTTPRequestOperation.HTTPError
Merge pull request #1221 from OliverLetterer/race-2

[Race] Fixing AFHTTPRequestOperation.HTTPError being overreleased.
[Issue #1221] Refactoring lock for HTTP error
Merge branch 'master' of https://github.com/xtreme-brian-croom/AFNetworking into xtreme-brian-croom-master
Refactoring upload input stream test and AFBufferedInputStreamProvider class
Merge pull request #1216 from paulmelnikow/load_certificates_from_main_bundle

When AFNetworking is in an embedded framework, load pinned certificates from app bundle
Removing use of unsupported method enumerateByteRangesUsingBlock:
Merge branch 'master' of github.com:AFNetworking/AFNetworking
Minor reformatting
Use string literal instead of building mutable string