utsend.wbb

Send text back to the client browser

Syntax

CALL "utsend.wbb",text$

This high-level routine sends HTML text to the client. It works on all Basic Web Utility platforms, regardless of the output destination, and automatically adds the Content-type: header as needed to the first output.

On the first CALL to utsend.wbb, if text$ begins with "Location:", text$ is sent with a trailing blank line.

On the first CALL to utsend.wbb, if text$ begins with "Content-type: ", a header is not added by utsend.wbb, and the application is responsible for the header and trailing blank line. This enables the application to send any MIME data type to the browser.

 
Return to first page