[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to