You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I add .stale(.OK) as query parameter I get status code 400 back.
I am using Kitura NIO
There are two things I had to do to fix it:
1 Change to lowercase ok:
/// Indicates when to update.
publicenumStaleOptions{
/// CouchDB will not refresh the view even if it is stale.
case ok
/// CouchDB will update the view after the stale result is returned.
case updateAfter
}
When I add .stale(.OK) as query parameter I get status code 400 back.
I am using Kitura NIO
There are two things I had to do to fix it:
1 Change to lowercase ok:
instead of
case OK
2: Remove
\" ... \"
from to string switch:instead of
paramString += "stale=\"\(value)\"&"
The text was updated successfully, but these errors were encountered: