Add support for binary properties via data URIs.

This commit is contained in:
2021-06-07 18:34:41 -05:00
parent 98f4dda1ad
commit 9606e71cec
4 changed files with 39 additions and 9 deletions

View File

@@ -20,7 +20,7 @@ proc raiseEx(reason: string): void = raise newException(Exception, reason)
template halt(code: HttpCode,
headers: RawHeaders,
content: string): typed =
content: string): void =
## Immediately replies with the specified request. This means any further
## code will not be executed after calling this template in the current
## route.