[zaqarclient] limit param of Queue.claim() forward inaccurately to server.
Bug #1402470 reported by
MATSUMURA, Shuntaro
This bug report is a duplicate of:
Bug #1489870: Claims limit is a query_param not part of the body.
Edit
Remove
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Python client library for Zaqar |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
The claim function: Queue.claim() sends the following request message to a server.
-- begin --
POST /v1/queues/
Content-Type: application/json
...
{
"ttl": {claim_ttl},
"grace": {message_grace},
"limit": {limit} <- URL parameter by the specification.
}
-- end --
The message is different from the specification,
(https:/
-- begin --
POST /v1/queues/
Content-Type: application/json
...
{
"ttl": {claim_ttl},
"grace": {message_grace}
}
-- end --
| affects: | zaqar → python-zaqarclient |
| Changed in python-zaqarclient: | |
| assignee: | nobody → MATSUMURA, Shuntaro (matsumura-shuntaro) |
| Changed in python-zaqarclient: | |
| assignee: | MATSUMURA, Shuntaro (matsumura-shuntaro) → nobody |
To post a comment you must log in.
So I checked the create claim function out in /python- zaqarclient/ zaqarclient/ queues/ v1 and I can see that it does indeed have a limit parameter. Is that still a bug? And what difference does it make if the limit param does exist.