Make gzip handling more robust

This commit is contained in:
Zed
2021-12-30 01:39:00 +01:00
parent e3f6c72bf6
commit ddc2be8439
2 changed files with 8 additions and 7 deletions

View File

@@ -78,9 +78,6 @@ proc fetchSingleTimeline*(after: string; query: Query; skipRail=false):
return (profile, timeline, await rail)
proc get*(req: Request; key: string): string =
params(req).getOrDefault(key)
proc showTimeline*(request: Request; query: Query; cfg: Config; prefs: Prefs;
rss, after: string): Future[string] {.async.} =
if query.fromUser.len != 1: