2 [Client] curl -s localhost:*****/css/style.css
8 [Client] curl -s localhost:*****/js/app.js
11 [Client] curl -s localhost:*****/hello.html
15 <meta charset="UTF-8">
17 <title>Some Popcorn love</title>
19 <link rel="stylesheet" type="text/css" href="/css/style.css">
22 <h1>Hello Popcorn!</h1>
24 <img src="/images/trollface.jpg" alt="maybe it's a kitten?" />
26 <script src="/js/app.js"></script>
30 [Client] curl -s localhost:*****/
31 Warning: Headers already sent!
35 <h1>Another Index</h1>
41 <h1>Another Index</h1>
45 [Client] curl -s localhost:*****/static/css/style.css
51 [Client] curl -s localhost:*****/static/js/app.js
52 alert("Hello World!");
54 [Client] curl -s localhost:*****/static/hello.html
58 <meta charset="UTF-8">
60 <title>Some Popcorn love</title>
62 <link rel="stylesheet" type="text/css" href="/css/style.css">
65 <h1>Hello Popcorn!</h1>
67 <img src="/images/trollface.jpg" alt="maybe it's a kitten?" />
69 <script src="/js/app.js"></script>
73 [Client] curl -s localhost:*****/static/
77 <h1>Another Index</h1>
81 [Client] curl -s localhost:*****/css/not_found.nit
85 <meta charset="utf-8">
86 <title>Not Found</title>
89 <h1>404 Not Found</h1>
92 [Client] curl -s localhost:*****/static/css/not_found.nit
96 <meta charset="utf-8">
97 <title>Not Found</title>
100 <h1>404 Not Found</h1>
103 [Client] curl -s localhost:*****/not_found.nit
107 <meta charset="utf-8">
108 <title>Not Found</title>
111 <h1>404 Not Found</h1>