[
https://issues.apache.org/jira/browse/SOLR-7405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497074#comment-14497074
]
Hoss Man commented on SOLR-7405:
--------------------------------
My vote is we resolve this issue as "Not a Problem" and continue to use an
explicit Content-TYpe in all curl commands in the ref guide.
> Update ref guide curl examples to eliminate Content-Type
> --------------------------------------------------------
>
> Key: SOLR-7405
> URL: https://issues.apache.org/jira/browse/SOLR-7405
> Project: Solr
> Issue Type: Improvement
> Components: documentation
> Reporter: Hoss Man
> Priority: Minor
>
> SOLR-7217 added a special work arround to solr to autodetect the correct
> content-type if the user-agent indicates curl is in use and the content-type
> specified is the curl default ("application/x-www-form-urlencoded")
> while this is certianly a nice to have convenience for people who forget to
> specify a Content-Type when using curl, there was quite a bit of back and
> forth on the ref guide TODO page about wether all example curl calls in the
> ref guide should explicitly take advantage of this for brevity.
> I'm opening this issue in the interest of having a more structured place for
> this discussion.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]