AFAIK you can't control the Response Code of a RES...
# suitescript
e
AFAIK you can't control the Response Code of a RESTlet, so you couldn't return a
301-Redirect
. You could just return the File URL and the client could use that to redirect. File would need to be available externally