We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acdeb17 commit 56df0e4Copy full SHA for 56df0e4
CHANGES.txt
@@ -94,6 +94,12 @@ Fixed:
94
2024 class; fix John Rouillard)
95
- use ast.eval_literal() rather than eval() to turn CSV exported
96
string values into Python object/values.
97
+- use template's guess at Content-Type in headers only if Content-Type
98
+ is not already set. This allows a template to set its own content
99
+ type. For example: _generic.translate can set content type (via
100
+ request.client.additional_headers) to application/json and return
101
+ json from the template. This json could access the 1i18n functions
102
+ for a javascript helper. (John Rouillard)
103
104
Features:
105
0 commit comments