[
https://issues.apache.org/jira/browse/SOLR-10998?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16072575#comment-16072575
]
Jan Høydahl commented on SOLR-10998:
------------------------------------
If this is to ever deprecate {{wt}} then we'll need to document MIME types for
all our response writers including non-standard ones. E.g.
{{application/solr+python}}
> Support "Accept" request header as alternative to "wt" parameter
> ----------------------------------------------------------------
>
> Key: SOLR-10998
> URL: https://issues.apache.org/jira/browse/SOLR-10998
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Server
> Reporter: Jan Høydahl
> Labels: http-headers, standards
>
> Spinoff from
> [email|https://lists.apache.org/thread.html/b4ec90b01bc075a98947e77b0a683308f760221dccb11be5819d1601@%3Cdev.lucene.apache.org%3E]
> Advertises which content types, expressed as MIME types, the client is able
> to understand
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept
> Could replace or at least be an alternative to “wt”. Examples:
> Accept: application/xml
> Accept: text/csv
> Issue: Most browsers sends a long accept header, typically
> application/xml,text/html,*/*, and now
> that json is default for Solr, we’d need to serve JSON if the accept header
> includes “*/*"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]