← Prev in month ← Prev in thread
Next in thread → Next in month →

Issue 124, Proposal for electronic vote

From
David Honey1 <>
Date
2018-01-12T18:32:05+00:00
ID
Thread
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
← Prev in month ← Prev in thread
Next in thread → Next in month →