Skip to content

Conversation

@mt81
Copy link
Contributor

@mt81 mt81 commented Jan 31, 2018

No description provided.

Copy link
Contributor

@flovilmart flovilmart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small nit, otherwise it's awesome!

clientKey:clientKey
bundle:bundle];
if (configuration && [configuration.HTTPAdditionalHeaders count]) {
NSMutableDictionary *counpoundHeaders = [configuration.HTTPAdditionalHeaders mutableCopy];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps rename to sessionConfigurationHeaders 

clientKey:(nullable NSString *)clientKey {
NSURLSessionConfiguration *configuration = [NSURLSessionConfiguration defaultSessionConfiguration];
NSURLSessionConfiguration *customConfiguration = Parse._currentManager.configuration.URLSessionConfiguration;
NSURLSessionConfiguration *configuration = customConfiguration ?: [NSURLSessionConfiguration defaultSessionConfiguration];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the URLSessionConfiguration should always be set on the configuration, so tghis way this is not required

@flovilmart flovilmart closed this Jan 31, 2018
@flovilmart flovilmart reopened this Jan 31, 2018
@flovilmart flovilmart closed this Jan 31, 2018
@flovilmart flovilmart reopened this Jan 31, 2018
@flovilmart flovilmart merged commit 5d0341c into parse-community:master Feb 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants