Skip to content

Commit ee4164f

Browse files
committed
ambi
1 parent d68a3d3 commit ee4164f

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

json_rpc/clients/httpclient.nim

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ method send(
6161

6262
let
6363
req = HttpClientRequestRef.post(
64-
client.httpSession, client.httpAddress, headers = headers
64+
client.httpSession,
65+
client.httpAddress,
66+
headers = headers,
67+
body = default(seq[byte]),
6568
)
6669

6770
res =
@@ -106,7 +109,10 @@ method request(
106109

107110
let
108111
req = HttpClientRequestRef.post(
109-
client.httpSession, client.httpAddress, headers = headers
112+
client.httpSession,
113+
client.httpAddress,
114+
headers = headers,
115+
body = default(seq[byte]),
110116
)
111117

112118
res =

0 commit comments

Comments
 (0)