[TIMOB-24562] Add response status to background upload delegates
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Trivial |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2017-04-07T19:05:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | ios, nsurlsession |
Reporter | Richard Lustemberg |
Assignee | Eric Merriman |
Created | 2017-04-05T20:14:52.000+0000 |
Updated | 2017-04-10T16:32:35.000+0000 |
Description
On a previous (already merged PR), I didn't include the server's response status code in the event object for
sessioncompleted
.
By slightly modifying
-(void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data
and
-(void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error'
we can take care of that. As soon as you move the issue to TIMOB I will send a PR
No need for this ticket, MOD-2328 should include all infos and PR's.
Closing ticket as duplicate with reference to the above comments.