component AP gateway (http/outbox): return data when no RSM is available
This commit is contained in:
parent
3f6ef10bac
commit
3994b8d40a
1 changed files with 4 additions and 0 deletions
|
|
@ -722,6 +722,10 @@ class HTTPAPGServer(web_resource.Resource):
|
|||
"orderedItems": ordered_items
|
||||
}
|
||||
|
||||
if "rsm" not in metadata:
|
||||
# no RSM available, we return what we have
|
||||
return ret_data
|
||||
|
||||
# AP OrderedCollection must be in reversed chronological order, thus the opposite
|
||||
# of what we get with RSM (at least with Libervia Pubsub)
|
||||
if not metadata["complete"]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue