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

 


Help: OASIS Mailing Lists Help | MarkMail Help

oslc-core message

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


Subject: Issue 124, Proposal for electronic vote


Proposal for electronic vote:

Rationale for proposed change

Many implementations have a limit on the maximum length of a URI string. The query specification does not describe how clients and servers should workaround such limits on a GET of a query base.


Proposed change
https://tools.oasis-open.org/version-control/browse/wsvn/oslc-core/trunk/specs/oslc-query.html

Section 7, Using a Query Capability
Change the first paragraph from:
Executing a query or search is achieved by executing a GET on the query base URI of a query capability.

To:
Executing a query or search is achieved by executing a GET on the query base URI of a query capability. Servers SHOULD also support POST to the query base URI with content type application/x-www-form-urlencoded with a request body representing the query parameters. Many servers have a limit on the maximum length of a URI, and the POST usage is the standard mechanism to avoid the impact of such limits.


Section 9, Query Result Paging has yet to be written. But it should also address this issue. Getting the first or next page using GET may hit the same limits. We can review that section when there is a proposed darft of it.

Best regards,
David
Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


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