Body is only rendered if the User-Agent matches the given pattern.


  • agent (required): A regular expression. If it matches the User-Agent header of the current HTTP request, the body is rendered.


The User-Agent header may be faked or missing. Never rely on an accurate information!

If used, a Vary: User-Agent header should be set in the response.