websHeader | GoAhead WebServer API | GoAhead EMF |
Output the common HTTP header and HTML tags to begin request response
#include "webs.h" void websFooter(webs_t wp);
wp | Web server connection handle |
The websHeader procedure is used by Form procedures to output the standard HTTP response header and HTML tags to begin a response to the browser's request. It outputs the following code:
HTTP/1.0 200 OK
Pragma: no-cache
Cache-control:
no-cache
Content-Type: text/html
<html>
None
websHeader(wp); websWrite(wp, "Great Day Today"); websFooter(wp); websDone(wp);