fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A migration.
[wolnelektury.git]
/
src
/
search
/
custom.py
diff --git
a/src/search/custom.py
b/src/search/custom.py
index
8f7b893
..
9337157
100644
(file)
--- 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",
url = self.analysis_url
kwargs = dict(
method="POST",
-
body
=qs,
+
data
=qs,
headers={"Content-Type": "application/x-www-form-urlencoded"},
)
else:
headers={"Content-Type": "application/x-www-form-urlencoded"},
)
else: