3 <meta charset=utf-8 http-equiv="Content-Language" content="en"/>
4 <script src="/example.js"></script>
7 <img src="libwebsockets.org-logo.svg">
8 <img src="strict-csp.svg"><br>
10 Hello from the <b>minimal http server + mimetypes example</b>.
12 This shows how to teach a mount new bindings between file<br>
13 suffix and mimetype used to serve it.<p>
15 Lws has a bunch of built-in ones, but you can add as many<br>
16 as you like when defining the mount.<p>
18 For example, lws doesn't know the suffix <b>[.tar].bz2</b><br>
19 implies the mimetype <i>application/x-bzip2</i>, but we taught<br>
20 this mount about that relationship in the example code, so it<br>
21 knows how to serve <a href="test.tar.bz2">this example test.tar.bz2</a>.