Hi,
I'm using X-LiteSpeed-Location to serve static files from a Rails app and noticed some strange behaviour:
This works:
This returns the correct file, but with status 404:
This returns the location header to the client, but with Status 404:
Andreas
I'm using X-LiteSpeed-Location to serve static files from a Rails app and noticed some strange behaviour:
This works:
Code:
render_text ''
headers['X-LiteSpeed-Location'] = "/myfile}"
Code:
render_text ''
headers['X-LiteSpeed-Location'] = "/myfile}"
headers.delete 'Status'
Code:
render_text ''
headers['Location'] = "/myfile}"
headers.delete 'Status'