Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-66] appcd-http: Format responses based on the Accept header

GitHub Issuen/a
TypeImprovement
PriorityTrivial
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsappcd-http
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2017-03-22T18:50:23.000+0000
Updated2020-02-13T07:23:42.000+0000

Description

The daemon will general return JSON formatted responses where the response is "data". When the response is a message or error, it's returned as a blob of text. It would be nice to pass along the Accept header so that handlers can coerce the response into a content type that the client prefers. Likewise with text responses and errors.

Comments

No comments

JSON Source