Commit f05cc310 authored by Christophe Benz's avatar Christophe Benz
Browse files

Add content type to POST headers

parent fa4105c5
......@@ -40,6 +40,7 @@ class BrowserlessPDFRenderer(PDFRenderer):
log.info("BrowserlessPDFRenderer.render(%s)", url)
headers = {
"Cache-Control": "no-cache",
"Content-Type": "application/json",
}
params = {"token": self.api_token}
data = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment