Page 1 of 1

Write HTTP response headers

Posted: 24 Jul 2017 07:21
by fagci
While using this action, I got some troubles with cross origin policy.
Will be good to send additional headers, for example:
"Access-Control-Allow-Origin", "*"

Thank You, Martin, for server feature!

Re: Write HTTP response headers

Posted: 25 Jul 2017 14:00
by Martin
Sure, I'll add this in the next update if time permits.

Regards,
Martin

Re: Write HTTP response headers

Posted: 25 Jul 2017 14:50
by Martin
It seems like there's already a script function setHTTPResponseHeader to set custom HTTP response headers from an action Script.
I'll also add a text field to the Write HTTP Response ... actions since it's much easier to handle than writing scripts.

Re: Write HTTP response headers

Posted: 28 Jul 2017 05:27
by fagci
Oh, glad to hear!
Thanks