CBL 'stale' parameter used to query views

I think the docs describing the state parameter need updating, they don’t really make sense…

What is the behaviour if it is omitted? What are the valid values?

I found the problem. It looks like sometimes quote marks are required for parameters, and sometimes not. For example, the following query string works:


Note that the key parameter value requires quotes marks, and the stale parameter does not. Dropping or adding quote marks to make them consistent results in a 400 response. Is this by design?