Varunan,

Have you tried https://www.kamailio.org/docs/modules/devel/modules/textops.html#textops.f.append_to_reply before calling xhttp_reply?

Cheers,
Ihor

Le mer. 19 juin 2024 à 08:05, Sasivarunan via sr-users <sr-users@lists.kamailio.org> a écrit :
HI Team,
I use tls and xhttp module to enable websocket interface for webrtc client to connect. 
I wanted to add "Strict-Transport-Security" header to xhttp response to add security. But currently I don't see a way to add it anywhere. 

I can see only server_header as an option, But this will get added to SIP messages as well. 
It 'd be great if anybody has a suggestion around this.


Thanks
Varunan
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:


--
Best regards,
Ihor (Igor)