Forum Discussion
hooleylist
Nov 23, 2011Cirrostratus
Hi Troy,
So you're trying to use catch to handle errors when inserting the header? How about something like this:
if {[HTTP::host] ne ""}{
catch {HTTP::header insert lws X-Origin-Host "[HTTP::host]"}
}
Aaron