You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Munendra S N (Jira)" <ji...@apache.org> on 2019/10/08 12:05:00 UTC
[jira] [Commented] (SOLR-13827) Fail on Unknown operation in
Request Parameters API
[ https://issues.apache.org/jira/browse/SOLR-13827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16946776#comment-16946776 ]
Munendra S N commented on SOLR-13827:
-------------------------------------
[~noble.paul]
Any reason for not failing on unknown operation in Request Parameter API?
Few other observations in Request Parameters
* Request with any other HTTP method than POST defaults to GET in the codebase. Ideally, for unsupported HTTP methods should fail. Is there any reason for handling this way?
* Randomly observed that {{/config/params/bleh/bl}} is equivalent to {{/config/params}} where {{/bleh/bl}} is some non-existent paths
> Fail on Unknown operation in Request Parameters API
> ---------------------------------------------------
>
> Key: SOLR-13827
> URL: https://issues.apache.org/jira/browse/SOLR-13827
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: config-api
> Reporter: Munendra S N
> Priority: Minor
>
> Request Parameters API supports set, update and delete operations. For any other operation, The API should fail and return error.
> Currently, for unknown operation API returns 200 status
> The config/overlay API fails on unknown operations
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org