Skip to content

Commit 4d040ca

Browse files
committed
headers fix
1 parent 20a3da0 commit 4d040ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/Node/HTTP/Client.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ The request path, including query string if appropriate.
8282
#### `headers`
8383

8484
``` purescript
85-
headers :: Option RequestOptions String
85+
headers :: Option RequestOptions RequestHeaders
8686
```
8787

8888
#### `auth`

src/Node/HTTP/Client.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ method = opt "method"
7070
path :: Option RequestOptions String
7171
path = opt "path"
7272

73-
headers :: Option RequestOptions String
73+
headers :: Option RequestOptions RequestHeaders
7474
headers = opt "headers"
7575

7676
-- | Basic authentication

0 commit comments

Comments
 (0)