X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/154870f0416b6b387637d6035c96321410512e95..56c5bac0c6b5fc622a0b274861a98b9dca00259e:/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: