[web_response->addHeader] adds a name+value pair to the header array being returned to the client browser in the current web response.
web_response->addHeader(name = value)
Use the [web_response->addHeader] method to add a 'Content-Location' header.
Code
web_response->addHeader('Content-Location' = '/index.lasso')
// return the web_response->headers for demonstration purposes
web_response->headers
Result
array((Content-Type = text/html; charset="UTF-8"), (X-Powered-By = Lasso 9), (Content-Location = /index.lasso))
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments