[
https://issues.apache.org/jira/browse/SOLR-3951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Fredrik Rodland updated SOLR-3951:
----------------------------------
Environment: max osx 10.7.5, SOLR 4.0.0 (was: Darwin SCH-BP-2003.local
11.4.2 Darwin Kernel Version 11.4.2: Thu Aug 23 16:25:48 PDT 2012;
root:xnu-1699.32.7~1/RELEASE_X86_64 x86_64, SOLR 4.0.0)
> wt=json should set application/json as content-type
> ---------------------------------------------------
>
> Key: SOLR-3951
> URL: https://issues.apache.org/jira/browse/SOLR-3951
> Project: Solr
> Issue Type: Improvement
> Affects Versions: 4.0
> Environment: max osx 10.7.5, SOLR 4.0.0
> Reporter: Fredrik Rodland
>
> the result with wt=json has content-type text/plain. Should be
> application/json.
> see SOLR-1123 (which seemed to be fixed for 4.0-ALPHA).
> reproduce:
> load all tutorial data.
> http://localhost:8983/solr/collection1/select?q=*%3A*&wt=json&indent=true
> info on request/response:
> {code}9:42:14.681[31ms][total 69ms] Status: 200[OK]
> GET http://localhost:8983/solr/collection1/select?q=*%3A*&wt=json&indent=true
> Content Size[-1] Mime Type[text/plain]
> Request Headers:
> Host[localhost:8983]
> User-Agent[Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0)
> Gecko/20100101 Firefox/16.0]
> Accept[text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8]
> Accept-Language[en-US,en;q=0.5]
> Accept-Encoding[gzip, deflate]
> Connection[keep-alive]
> Referer[http://localhost:8983/solr/]
> Cache-Control[max-age=0]
> Response Headers:
> Content-Type[text/plain;charset=UTF-8]
> Transfer-Encoding[chunked]{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]