Loading
fix(httpctrl): read attrs from every entity of an array response
When a GET request has attrs=, the mock checks that every requested attribute is a key in the stub's response body. For an array body it used an empty list of keys, so the check always failed. Query responses are always arrays, and only queries use attrs. So these stubs never matched, not even a request with exactly the stub's URL. D011_01_03_inc, D011_01_exc and D011_02_exc_01 fail this way. Use the keys of all entities in an array body. An object body works as before. An empty array still matches nothing.