Hide Forgot
Cloned from launchpad blueprint https://blueprints.launchpad.net/horizon/+spec/global-ajax-communication. Description: We need to figure out, in a holistic manner, how, site-wide we would like to handle AJAX communication over HTTP. We should stick to HTTP status codes and the standards for their use/meaning in responses. We should use Content-Type back and forth to communicate what is being transferred in either direction. We should use the Accept header on the back-end to determine HOW to render a response to specific requests. This would mean that if someone wants to add support for XML, no new endpoints should need to be written in order to render a given URI in XML, one would just be able to set the request Accept header, and create a response formatter for that Accept format. Specification URL (additional information): None