From 736b0f25003c92b3903798ce0a768230480d8f4b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 27 Feb 2024 18:11:37 +0300 Subject: Fix curl constructor for nullfd input for HTTP POST method --- tests/curl/testscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tests/curl/testscript') diff --git a/tests/curl/testscript b/tests/curl/testscript index 5818d1a..d2056cd 100644 --- a/tests/curl/testscript +++ b/tests/curl/testscript @@ -55,7 +55,10 @@ sudo /usr/sbin/in.tftpd \ curl -sS --location --data-binary @- https://build2.org/bogus - curl -sS --fail --location https://build2.org/bogus + curl -sS --fail --location --data-raw "" --verbose https://build2.org/bogus + %.* + %> POST /bogus HTTP.+% + %.* %curl: \(22\) The requested URL returned error: 404( Not Found)?% EOE } -- cgit v1.1