2021-03-13 20:06:02 +01:00
|
|
|
import httpcore
|
2020-02-07 14:09:42 +01:00
|
|
|
|
|
|
|
type
|
|
|
|
NimHttpResponse* = object
|
|
|
|
code*: HttpCode
|
|
|
|
msg*: string
|
|
|
|
headers*: HttpHeaders
|
|
|
|
|
2020-06-12 16:49:54 +02:00
|
|
|
notFoundException* = object of ValueError
|
|
|
|
errorException* = object of ValueError
|