[DAEMON-64] appcd-http: Need a unified response object
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2017-03-22T07:41:44.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 1.0.0 |
Components | appcd-http |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2017-03-18T01:11:18.000+0000 |
Updated | 2017-10-26T03:05:44.000+0000 |
Description
Right now HTTP responses require a status and body. However we will want to specify a response using a code that looks up the appropriate message and sets the actual response status and body.
We also want this response object to handle the content type.
This does not apply to requests for data. This only applies to requests like subscribing or registering something where we have a real message that can be internationalized.
No comments