You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sorry not to reply earlier. I'd be happy to accept a PR to treat a special value like 'TRUE' or '<set-option> as the same as True and just add the option with no argument.
We have the ability to set whtmltopdf options via HTTP Header,
but that only works for argument with a value I'm afraid.
HTTP headers are read here:
pydf/docker-entrypoint.py
Lines 39 to 41 in 8f9ce76
Then in:
pydf/pydf/wkhtmltopdf.py
Lines 33 to 42 in 8f9ce76
The only way to get the argument on the command line is to have a real
True
.So via the API we can't get options like
--disable-javascript
or even--lowquality
.The text was updated successfully, but these errors were encountered: