OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1025) Treatment of same query option in multiple "spellings"


     [ https://issues.oasis-open.org/browse/ODATA-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Pizzo updated ODATA-1025:
---------------------------------

    Environment: [Proposed]
       Proposal: 
In Section 5.1, System Query Options], of URL Conventions, change:

 "The same system query option MUST NOT be specified more than once for any resource." 

to:

"The same system query option, irrespective of casing or whether or not it is prefixed with "$", MUST NOT be specified more than once for any resource." 


> Treatment of same query option in multiple "spellings"
> ------------------------------------------------------
>
>                 Key: ODATA-1025
>                 URL: https://issues.oasis-open.org/browse/ODATA-1025
>             Project: OASIS Open Data Protocol (OData) TC
>          Issue Type: Bug
>          Components: OData URL Conventions
>    Affects Versions: V4.01_CSD01
>         Environment: [Proposed]
>            Reporter: Ralf Handl
>             Fix For: V4.01_CSD02
>
>
> V4.01 allows to omit the $ prefix for system query options and makes the query option name case-insensitive.
> How should servers react if a request contains e.g. $top=5&Top=10
> Should the request be rejected as the same (logical) query option appears twice, or should it succeed and $top is preferred over Top?
> What if it contains top=5&TOP=10?



--
This message was sent by Atlassian JIRA
(v6.2.2#6258)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]