|
|
|
@ -462,6 +462,8 @@ httpProcessInput(rfbScreenInfoPtr rfbScreen)
|
|
|
|
|
contentType = "Content-Type: text/css\r\n";
|
|
|
|
|
else if(ext && strcasecmp(ext, ".svg") == 0)
|
|
|
|
|
contentType = "Content-Type: image/svg+xml\r\n";
|
|
|
|
|
else if(ext && strcasecmp(ext, ".js") == 0)
|
|
|
|
|
contentType = "Content-Type: application/javascript\r\n";
|
|
|
|
|
rfbWriteExact(&cl, contentType, strlen(contentType));
|
|
|
|
|
/* end the header */
|
|
|
|
|
rfbWriteExact(&cl, "\r\n", 2);
|
|
|
|
|