Titanium JIRA Archive
Appcelerator Community (AC)

[AC-516] Appcelerator httpclient is not handling the response with code 204 correctly.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2015-11-30T09:39:26.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsArrow Push, Titanium SDK & CLI
Labelsandoid, httpclient, pushnotification, xhr
ReporterRohan Peshwe
AssigneeShak Hossain
Created2015-11-30T06:22:00.000+0000
Updated2015-11-30T09:39:26.000+0000

Description

I am trying to register the device for push notification. I have to use the REST API calls to do that for the kinvey MBaaS. In the response, I am getting the error with the status code 204. On the kinvey, I am successfully registered for it's push service. However, on the appcelerator it's giving me error. As code is 204(no content) it's should be handled as success rather than error.

Attachments

FileDateSize
error.json2015-11-30T06:19:09.000+0000986

Comments

  1. Sharif AbuDarda 2015-11-30

    Hello, Registering the device for push notification is working fine in Appcelerator Arrow DB. The problem might be in Kinvey MBaaS side. Thanks.

JSON Source