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

Noble Paul commented on SOLR-13827:
-----------------------------------

bq.Any reason for not failing on unknown operation in Request Parameter API?

Well, it should fail

bq. Ideally, for unsupported HTTP methods request should fail. Is there any 
reason for handling this way?

It should

Can you just rewrite the config API using the new annotations? It'll take care 
of most of these issues


bq.Randomly observed that /config/params/bleh/bl is equivalent to 
/config/params where /bleh/bl is some non-existent paths

this was designed for you to fetch arbitrary params (read only)


> 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
>            Assignee: 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to