Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-1025

Treatment of same query option in multiple "spellings"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V4.01_CSD01
    • Fix Version/s: V4.01_CSD02
    • Component/s: URL Conventions
    • Labels:
      None
    • Environment:

      Applied

    • Proposal:
      Hide

      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."

      Show
      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."
    • Resolution:
      Show
      https://www.oasis-open.org/committees/download.php/60255/odata-v4.01-wd02-part2-url-conventions-2017-03-10.docx

      Description

      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?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              handl Ralf Handl
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: