SynopsisReturn the Mime type of the request. Prototype#include "webs.h" char_t *websGetRequestType(webs_t wp); Parameters
DescriptionThe 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 ValuePointer to a statically allocated string containing the mime type string. Do not call bfree. Exampletype = websGetRequestType(wp); Stability ClassificationStable. See AlsowebsGetRequestDir, websGetRequestPassword, websGetRequestPath |