X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/154870f0416b6b387637d6035c96321410512e95..d25a3a166a0ec2e730a126c23f8855876384607c:/src/search/custom.py 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: