Commit 66287fa8 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

RAPI: Document need for Content-type header in requests

This was added to the NEWS file in commit ab221ddf

, but never
documented properly.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent d1b47b16
......@@ -70,6 +70,10 @@ HTTP Basic authentication as per :rfc:`2617` is supported.
.. _JSON:
.. _REST:
HTTP requests with a body (e.g. ``PUT`` or ``POST``) require the request
header ``Content-type`` be set to ``application/json`` (see :rfc:`2616`
(HTTP/1.1), section 7.2.1).
A note on JSON as used by RAPI
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment