X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/154870f0416b6b387637d6035c96321410512e95..f1143b5bcf508dcfe7f72e90faee72cf72a2392a:/src/search/custom.py?ds=sidebyside diff --git a/src/search/custom.py b/src/search/custom.py index 8f7b893b5..933715719 100644 --- a/src/search/custom.py +++ b/src/search/custom.py @@ -23,7 +23,7 @@ class CustomSolrConnection(connection.SolrConnection): url = self.analysis_url kwargs = dict( method="POST", - body=qs, + data=qs, headers={"Content-Type": "application/x-www-form-urlencoded"}, ) else: