nit: Added link to `CONTRIBUTING.md` from the README
[nit.git] / lib / popcorn / tests / res / test_example_static_multiple.res
1
2 [Client] curl -s localhost:*****/css/style.css
3 body {
4         color: blue;
5         padding: 20px;
6 }
7
8 [Client] curl -s localhost:*****/js/app.js
9 alert("Hello World!");
10
11 [Client] curl -s localhost:*****/hello.html
12 <!DOCTYPE html>
13 <html>
14         <head>
15                 <meta charset="UTF-8">
16
17                 <title>Some Popcorn love</title>
18
19                 <link rel="stylesheet" type="text/css" href="/css/style.css">
20         </head>
21         <body>
22                 <h1>Hello Popcorn!</h1>
23
24                 <img src="/images/trollface.jpg" alt="maybe it's a kitten?" />
25
26                 <script src="/js/app.js"></script>
27         </body>
28 </html>
29
30 [Client] curl -s localhost:*****/
31 <!DOCTYPE html>
32 <html>
33         <body>
34                 <h1>Another Index</h1>
35         </body>
36 </html>
37
38 [Client] curl -s localhost:*****/static/css/style.css
39 body {
40         color: blue;
41         padding: 20px;
42 }
43
44 [Client] curl -s localhost:*****/static/js/app.js
45 alert("Hello World!");
46
47 [Client] curl -s localhost:*****/static/hello.html
48 <!DOCTYPE html>
49 <html>
50         <head>
51                 <meta charset="UTF-8">
52
53                 <title>Some Popcorn love</title>
54
55                 <link rel="stylesheet" type="text/css" href="/css/style.css">
56         </head>
57         <body>
58                 <h1>Hello Popcorn!</h1>
59
60                 <img src="/images/trollface.jpg" alt="maybe it's a kitten?" />
61
62                 <script src="/js/app.js"></script>
63         </body>
64 </html>
65
66 [Client] curl -s localhost:*****/static/
67 <!DOCTYPE html>
68 <html>
69         <body>
70                 <h1>Another Index</h1>
71         </body>
72 </html>
73
74 [Client] curl -s localhost:*****/css/not_found.nit
75                 <!DOCTYPE html>
76                 <html>
77                 <head>
78                         <meta charset="utf-8">
79                         <title>Not Found</title>
80                 </head>
81                 <body>
82                 <h1>404 Not Found</h1>
83                 </body>
84                 </html>
85 [Client] curl -s localhost:*****/static/css/not_found.nit
86                 <!DOCTYPE html>
87                 <html>
88                 <head>
89                         <meta charset="utf-8">
90                         <title>Not Found</title>
91                 </head>
92                 <body>
93                 <h1>404 Not Found</h1>
94                 </body>
95                 </html>
96 [Client] curl -s localhost:*****/not_found.nit
97                 <!DOCTYPE html>
98                 <html>
99                 <head>
100                         <meta charset="utf-8">
101                         <title>Not Found</title>
102                 </head>
103                 <body>
104                 <h1>404 Not Found</h1>
105                 </body>
106                 </html>