cancel
Showing results for 
Search instead for 
Did you mean: 

Web Scripts: status.location?

alrice
Champ in-the-making
Champ in-the-making
In the WebScripts (2.1 E) how can one specify a location header for the HTTP response? Several HTTP status codes take other headers, e.g. Location to send back to the client. I tried status.location but i think i got an exception out of the web script.
1 REPLY 1

alrice
Champ in-the-making
Champ in-the-making
Several of the 2xx and 3xx status codes take Location: header for sending back to the browser:

http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html

thanks