about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/PublicInbox/LeiXSearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiXSearch.pm b/lib/PublicInbox/LeiXSearch.pm
index 0417db24..c6ff5679 100644
--- a/lib/PublicInbox/LeiXSearch.pm
+++ b/lib/PublicInbox/LeiXSearch.pm
@@ -191,7 +191,7 @@ sub query_remote_mboxrd {
         push(@qform, t => 1) if $opt->{thread};
         my $dedupe = $lei->{dedupe} // die 'BUG: {dedupe} missing';
         $dedupe->prepare_dedupe;
-        my @cmd = qw(curl -XPOST -sSf);
+        my @cmd = (qw(curl -sSf -d), '');
         my $verbose = $opt->{verbose};
         push @cmd, '-v' if $verbose;
         for my $o ($lei->curl_opt) {