Procs
func getHeaderOrDefault(request: Request; key: string; default = @[""]): seq[ string] {.inline, ...raises: [KeyError], tags: [], forbids: [].}
- Retrieves value of request.headers[key]. Otherwise default will be returned. Source Edit
func getHeaderOrDefault(request: Request; key: string; default = @[""]): seq[ string] {.inline, ...raises: [KeyError], tags: [], forbids: [].}