mirror of
https://github.com/curl/curl.git
synced 2026-07-23 23:07:18 +03:00
curl_easy_setopt.md: add missing CURLOPT_POSTFIELDS
It was mistakenly removed in 8dab7465a5 (shipped in 8.9.0)
Also fix test 1139 which should have detected this but didn't due to a
bad regex check.
Reported-by: Jonathan Cardoso
Fixes #19151
Closes #119152
This commit is contained in:
parent
3986149c04
commit
0bb25cdbb7
2 changed files with 5 additions and 1 deletions
|
|
@ -686,6 +686,10 @@ Port number to connect to. See CURLOPT_PORT(3)
|
|||
|
||||
Make an HTTP POST. See CURLOPT_POST(3)
|
||||
|
||||
## CURLOPT_POSTFIELDS
|
||||
|
||||
Send a POST with this data - does not copy it. See CURLOPT_POSTFIELDS(3)
|
||||
|
||||
## CURLOPT_POSTFIELDSIZE
|
||||
|
||||
The POST data is this big. See CURLOPT_POSTFIELDSIZE(3)
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ sub scanmdpage {
|
|||
}
|
||||
}
|
||||
foreach my $m (@words) {
|
||||
my @g = grep(/$m/, @m);
|
||||
my @g = grep(/$m\b/, @m);
|
||||
if(!$g[0]) {
|
||||
print STDERR "Missing mention of $m in $file\n";
|
||||
$errors++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue