Lasso Soft Inc. > Home

[ web_response->HEADER ]

Method

[web_response->header] returns the value of the named header being sent back to the client browser as part of the current web response.

  • Syntax
web_response->header(string)
Examples
  • Beginner

To return the current Content Type being returned to the browser:

Use the [web_response->header] method.

Code

web_response->header('Content-Type')

Result

text/html; charset="UTF-8"

Recent Comments

No Comments found

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. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft