diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-27 18:11:37 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-02-27 19:09:37 +0300 |
commit | 736b0f25003c92b3903798ce0a768230480d8f4b (patch) | |
tree | d9b2209258b3b3dd998364453a5622ee02ab6664 /tests/curl/driver.cxx | |
parent | a1ea72d719b63a4d2b6421ce2e53b7e3ab12a8a1 (diff) |
Fix curl constructor for nullfd input for HTTP POST method
Diffstat (limited to 'tests/curl/driver.cxx')
-rw-r--r-- | tests/curl/driver.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/curl/driver.cxx b/tests/curl/driver.cxx index bd12c29..856fde3 100644 --- a/tests/curl/driver.cxx +++ b/tests/curl/driver.cxx @@ -118,10 +118,10 @@ http () assert (c.wait ()); } - // POST from /dev/null. + // POST empty data. // { - curl c (p, nullfd, 1, 2, curl::post, u + "/bogus"); + curl c (p, nullfd, 1, 2, curl::post, u + "/bogus", "--verbose"); assert (!c.wait ()); } } |