Lasso Soft Inc. > Home

[ web_request->contentType ]

Method

The [web_request->contentType] method returns the value of the Content-Type header passed to the web server by the browser.

  • Syntax
web_request->contentType
Examples
  • Beginner

Display the Content-Type HTTP header

The code below displays the Content-Type header sent by the browser to the web server. In this example, the code is called on the action page that a form submission was sent to, so the result will be the content type that the form sent.

Code

web_request->contentType

Result

application/x-www-form-urlencoded

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