1
0
angie-conv-image/angie/autoconf.dist/http-response-headers.conf.j2

6 lines
207 B
Django/Jinja

## add response headers
{%- set resp_hdr_dict = j2cfg.response_headers or {} -%}
{%- for h, v in resp_hdr_dict.items() %}
{#- TODO: precise quotation #}
add_header {{ h }} {{ v.__repr__() }};
{%- endfor %}