Lasso Soft Inc. > Home

[Content_Header]

[Content_Header] returns a reference to the current header that is being assembled by Lasso for return to the client. The header must be a valid HTTP header separated by \r\n pairs. Lasso does not enforce proper formatting of the header so if modifications are made care should be taken to adhere to the proper HTTP standards.

Called simply the [Content_Header] tag returns the current header. If called with a parameter the header is replaced with that new value [Content_Header: 'new value']. A new value can also be assigned to or appended to the content headers.

  • Syntax
  • Parameters
[Content_Header]

[Content_Header: 'new headers']

[Content_Header += 'additional header\r\n']
Optional Parameters
HTTP Header String or byte stream which defines the new HTTP header for the page.
Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Tag Link [Content_Header] Category Output
Type Substitution Data Source Any
Support Preferred Version 8.5
Output Type String Security None
Implementation Sets Lasso 8.5

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