Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Clarify file formats and use of Content-Type headers #21

Open
philipashlock opened this issue May 2, 2013 · 0 comments
Open

Clarify file formats and use of Content-Type headers #21

philipashlock opened this issue May 2, 2013 · 0 comments

Comments

@philipashlock
Copy link
Contributor

The use of format terms like "XML" and "JSON" can be ambiguous without specifying HTTP Content-Type headers. I would also recommend specifying the character encoding here, but I'll mention that as another issue. I would recommend XML and JSON usage as the following types and the guidelines should articulate that HTTP headers should match this for each format.

XML: Content-Type: text/xml; charset=utf-8
JSON: Content-Type: application/json; charset=utf-8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant