!--a11y-->
Use
The getAccept method returns a value that is equivalent to the value of the HTTP request header ACCEPT. This header is sent to the Web server by a device in an HTTP request and contains the complete information about the
MIME-Types (or Content types) that can be processed by the browser.The following list contains MIME types that a browser can pass in a request:
|
MIME Type |
Description |
File Extension |
|
text/html |
HTML file |
html, htm |
|
text/css |
CSS style sheet file |
css |
|
text/javascript |
JavaScript file |
js |
|
image/gif |
GIF graphics |
gif |
|
image/jpeg |
JPEG graphics |
jpeg, jpg, jpe |
|
application/msword |
Microsoft Word files |
doc, dot |
The MIME types based on WAP include:
|
MIME Type |
Description |
File Extension |
|
text/vnd.wap.wml |
WML source code |
wml |
|
application/vnd.wap.wmlc |
Compiled WML |
wmlc |
|
text/vnd.wap.wmlsrcipt |
WMLScript |
wmlscript |
|
text/vnd.wap.wmlscript |
WMLScript |
wsc |
|
application/vnd.wap.wmlscriptc |
Compiled WMLScript |
wmlsc |
|
application/vnd.wap.wmlscriptc |
Compiled WMLScript |
wsc |
|
image/vnd.wap.wbmp |
Wireless Bitmap |
wbmp |
