Version: 2.0.4
var xhr = new XMLHttpRequest() xhr.open('GET', '/dummy') htmx._('safelySetHeaderValue')(xhr, 'Example', 'привет') // unfortunately I can't test the value :/ // https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest