diff options
author | Christian Beier <dontmind@freeshell.org> | 2011-10-06 14:29:06 +0200 |
---|---|---|
committer | Christian Beier <dontmind@freeshell.org> | 2011-10-06 14:29:06 +0200 |
commit | 5756b133f737642e2bb3c9a319b101c0ac23723e (patch) | |
tree | 109677640f842567fd1a8dd18ca5cad4eca05b36 /webclients/novnc/include/des.js | |
parent | 03d9b519176d6f25ce13e4b86298ae762f32cd4b (diff) | |
download | libtdevnc-5756b133f737642e2bb3c9a319b101c0ac23723e.tar.gz libtdevnc-5756b133f737642e2bb3c9a319b101c0ac23723e.zip |
httpd: fix sending of binary data such as images.
We do this simply by omitting the content-type and let the browser
decide upon the mime-type of the sent file. Only exception is
'index.vnc', where we do set the content-type since some browsers
fail to detect it's html when it's ending in '.vnc'
Also, remove superfluous #defines. We close the connection always.
Diffstat (limited to 'webclients/novnc/include/des.js')
0 files changed, 0 insertions, 0 deletions