Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-24562] Add response status to background upload delegates

GitHub Issuen/a
TypeImprovement
PriorityTrivial
StatusClosed
ResolutionDuplicate
Resolution Date2017-04-07T19:05:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsios, nsurlsession
ReporterRichard Lustemberg
AssigneeEric Merriman
Created2017-04-05T20:14:52.000+0000
Updated2017-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

Comments

  1. Richard Lustemberg 2017-04-05

  2. Sharif AbuDarda 2017-04-06

  3. Hans Knöchel 2017-04-07

    No need for this ticket, MOD-2328 should include all infos and PR's.
  4. Lee Morris 2017-04-10

    Closing ticket as duplicate with reference to the above comments.

JSON Source