[
https://issues.apache.org/jira/browse/SOLR-10406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16057174#comment-16057174
]
Noble Paul commented on SOLR-10406:
-----------------------------------
We have decided that V2 API should respond with proper payload
(javabin/json/xml) depending on the {{wt}} parameter. this was necessary
because , we want to eliminate the html error message which is useless. If an
exception is thrown, jetty responds with an html response. Moreover jetty
responds with some message we cannot control
> v2 API error messages list the URL request path as /solr/____v2/... when the
> original path was /v2/...
> ------------------------------------------------------------------------------------------------------
>
> Key: SOLR-10406
> URL: https://issues.apache.org/jira/browse/SOLR-10406
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: v2 API
> Reporter: Steve Rowe
> Assignee: Cao Manh Dat
> Priority: Minor
> Fix For: master (7.0)
>
> Attachments: SOLR-10406.patch, SOLR-10406.patch, SOLR-10406.patch
>
>
> E.g. attempting introspect on {{/v2/c/.system/blob}} will fail if the
> {{.system}} collection has not yet been CREATE'd - after {{bin/solr start -e
> cloud -noprompt}}:
> {noformat}
> $ curl "http://localhost:8983/v2/c/.system/blob/_introspect?indent=on"
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
> <title>Error 404 Not Found</title>
> </head>
> <body><h2>HTTP ERROR 404</h2>
> <p>Problem accessing /solr/____v2/c/.system/blob/_introspect. Reason:
> <pre> Not Found</pre></p>
> </body>
> </html>
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]