quarkiverse / quarkus-qute-web

Automatically expose Qute templates via HTTP
Apache License 2.0
4 stars 5 forks source link

Make it easier to access the HTTP request headers in a template #22

Closed mkouba closed 1 year ago

mkouba commented 1 year ago

Currently, it's possible to use qsp:request.getHeader('HX-Request'). We could introduce qsp:header('HX-Request') and possibly even something like qsp:headers.hx-request.