Changes

Jump to navigation Jump to search
4 bytes added ,  23:25, 12 September 2011
# The content type is overwritten in any case if a specific [[Serialization|media-type]] is chosen, again as query parameter or within the query.
The following three example requests will all return <code>application&lt;a/xml&gt;</code> as content-type result and use <code>&lt;aapplication/&gt;xml</code> as resultcontent-type:
:<code>http://admin:admin@localhost:8984/rest?query=%3Ca/%3E</code><br/><code>http://admin:admin@localhost:8984/rest?query=%3Ca/%3E&method=xml</code><br/><code>http://admin:admin@localhost:8984/rest?query=%3Ca/%3E&media-type=application/xml</code>
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu