iOS-MAS-Foundation icon indicating copy to clipboard operation
iOS-MAS-Foundation copied to clipboard

Fixed pass headers in Invoke with taskBlock

Open stefanrenne opened this issue 3 years ago • 1 comments

When using the

+ (void)invoke:(nonnull MASRequest *)request taskBlock:(nullable MASDataTaskBlock)taskBlock completion:(nullable MASResponseObjectErrorBlock)completion;

function passed headers not send, while they are used in the other invoke function:

+ (void)invoke:(nonnull MASRequest *)request completion:(nullable MASResponseObjectErrorBlock)completion;

This PR solves that problem.

stefanrenne avatar Dec 18 '20 15:12 stefanrenne