Write HTTP response headers

Post your questions and help other users.

Moderator: Martin

Post Reply
User avatar
fagci
Posts: 80
Joined: 03 Feb 2017 13:06
Location: Novosibirsk, RU
Contact:

Write HTTP response headers

Post by fagci » 24 Jul 2017 07:21

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!
All systems nominal.

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Write HTTP response headers

Post by Martin » 25 Jul 2017 14:00

Sure, I'll add this in the next update if time permits.

Regards,
Martin

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: Write HTTP response headers

Post by Martin » 25 Jul 2017 14:50

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.

User avatar
fagci
Posts: 80
Joined: 03 Feb 2017 13:06
Location: Novosibirsk, RU
Contact:

Re: Write HTTP response headers

Post by fagci » 28 Jul 2017 05:27

Oh, glad to hear!
Thanks
All systems nominal.

Post Reply