[ 
https://issues.apache.org/jira/browse/SOLR-7217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367136#comment-14367136
 ] 

ASF subversion and git services commented on SOLR-7217:
-------------------------------------------------------

Commit 1667551 from [[email protected]] in branch 'dev/branches/branch_5x'
[ https://svn.apache.org/r1667551 ]

SOLR-7217: add missing ByteServletInputStream to test

> Auto-detect HTTP body content-type for curl
> -------------------------------------------
>
>                 Key: SOLR-7217
>                 URL: https://issues.apache.org/jira/browse/SOLR-7217
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: 5.1
>
>         Attachments: SOLR-7217.patch
>
>
> It's nice to be able to leave off the specification of content type when hand 
> crafting a request (i.e. from the command line) and for our documentation 
> examples.
> For example:
> {code}
> curl http://localhost:8983/solr/query -d '
> {
>   query:"hero"
> }'
> {code}
> Note the missing 
> {code}
> -H 'Content-type:application/json'
> {code}
> that would otherwise be needed everywhere



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to