]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwText.pm
www: call curl with -d '' in the altid instructions
[public-inbox.git] / lib / PublicInbox / WwwText.pm
index 817d032c7cfae925051766fd665c424bd9fd8942..9f46c6a603a7c495ee3fcae343185528fa97f4b6 100644 (file)
@@ -165,7 +165,7 @@ EOS
        ; gzip(1), and sqlite3(1) as documented:
 EOF
                for (sort keys %$altid_map) {
-                       $$txt .= "\t;\tcurl -XPOST $base_url$_.sql.gz | \\\n" .
+                       $$txt .= "\t;\tcurl -d '' $base_url$_.sql.gz | \\\n" .
                                "\t;\tgzip -dc | \\\n" .
                                "\t;\tsqlite3 $inboxdir/$_.sqlite3\n";
                        $$txt .= "\taltid = serial:$_:file=$_.sqlite3\n";