diff options
Diffstat (limited to 'src/io/http.nim')
-rw-r--r-- | src/io/http.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/io/http.nim b/src/io/http.nim index 2eefb9ce..984cae7c 100644 --- a/src/io/http.nim +++ b/src/io/http.nim @@ -13,7 +13,7 @@ type HandleDataObj = object curl*: CURL statusline: bool - headers: HeaderList + headers: Headers request: Request ostream*: Stream mime: curl_mime @@ -21,7 +21,7 @@ type func newHandleData(curl: CURL, request: Request, ostream: Stream): HandleData = let handleData = HandleData( - headers: newHeaderList(), + headers: newHeaders(), curl: curl, ostream: ostream, request: request |