websGetRequestType | GoAhead WebServer API | GoAhead EMF
## Synopsis Return the Mime type of the request. ## Prototype
     #include "webs.h"

     char_t *websGetRequestType(webs_t wp);
## Parameters
wp | Web server connection handle.
## Description The websGetRequestType procedure returns the Mime type of the web page document. The Mime type is automatically determined by the GoAhead WebServer by examining the URL extension. For example, URLs with a ".htm" extension have a mime type of "text/html". For users of the GoAhead WebServer, mime types can be defined in the mime.c source file. ## Return Value Pointer to a statically allocated string containing the mime type string. Do not call bfree. ## Example
     type = websGetRequestType(wp);
## Stability Classification Stable. ## See Also websGetRequestDir, websGetRequestPassword, websGetRequestPath