shrub/tests/sys
fang 34148f9f44 eyre: allow PUTting empty channel-request list
Previously, we would reject this with a 400 error. Considering the
request body is expected to contain "array of requests" and that arrays
may be empty, we really should not be rejecting the requests.

Prior to 156ca21472, sending the empty array would have been convenient
for channel creation. Empty arrays getting rejected forced clients to
inject a faux poke (commonly hi-ing oneself). With that recent change,
the most common case for wanting to PUT the empty list of requests is
largely obsolete, but one can still imagine it being useful for clients
that want to keep their channel alive without necessarily being
connected to it. This also implements sloppier clients from running into
400 responses when they submit an empty "command queue" for whatever.

Regardless, there seems to be no clear reason why the empty request list
_shouldn't_ be accepted and processed as normal.

We add a small test to ensure eyre accepts this.
2023-09-19 19:12:25 +03:00
..
arvo tests: move to root, out of pkg/arvo 2023-01-18 16:50:42 +01:00
hoon test: adds failing multi-byte-glyph sanity 2023-05-31 14:32:39 -04:00
vane eyre: allow PUTting empty channel-request list 2023-09-19 19:12:25 +03:00
zuse Merge branch 'next/kelvin/413' into i/5788/remote-scry 2023-04-22 14:33:20 -04:00
fine.hoon Merge branch 'next/kelvin/412' into tinnus/local-provenance 2023-06-07 20:38:05 +12:00
grq.hoon tests: revert test now that dead flow consolidation is default off 2023-09-14 23:13:24 +03:00
nock.hoon tests: move to root, out of pkg/arvo 2023-01-18 16:50:42 +01:00