Closed olgam4 closed 9 months ago
Hey guys!
I'm using maud with rocket and would like to access the response generated to change its headers (and add some htmx custom headers). Could someone help me in this endeavour? I think I'm missing some rust knowledge to achieve this.
after handling the Result, you can still modify the inner request and add headers with Response::set_header.
Result
Response::set_header
Hey guys!
I'm using maud with rocket and would like to access the response generated to change its headers (and add some htmx custom headers). Could someone help me in this endeavour? I think I'm missing some rust knowledge to achieve this.