/containers/{id}/logs api doesnt behave as it should

hi, dealing with this unexpected behavior of the latest engine API to get container logs. Params mentioned like tail, and follow doesn’t really take effect …seems like a bug or have to tweak anything else somewhere ? For a following request like that it always returns all the logs, and keeps the connection alive to stream it further even tho specified not to follow.

https://myserver.com:2375/containers/myapp/logs?stdout=1&timestamps=1&follow=0&tail=10