|
1 | 1 | $ source ../../server-test-helpers.sh |
2 | 2 | $ run_server ./test.exe |
3 | 3 | ocsigen:main: [WARNING] Command pipe created |
4 | | - ocsigen:access: connection for local-test from (curl/8.12.1): /index.html |
| 4 | + cohttp.eio: [INFO] unix:: accept connection |
| 5 | + ocsigen:access: connection for local-test from (curl/8.13.0): /index.html |
5 | 6 | ocsigen:ext: [INFO] host found! local-test:0 matches .* |
6 | 7 | ocsigen:ext:staticmod: [INFO] Is it a static file? |
7 | 8 | ocsigen:local-file: [INFO] Testing "./index.html". |
8 | 9 | ocsigen:local-file: [INFO] checking if file index.html can be sent |
9 | 10 | ocsigen:ext: [INFO] Compiling exclusion regexp $^ |
10 | 11 | ocsigen:local-file: [INFO] Returning "./index.html". |
11 | | - ocsigen:access: connection for local-test from (curl/8.12.1): /index.html |
| 12 | + cohttp.eio: [INFO] unix:: disconnected |
| 13 | + cohttp.eio: [INFO] unix:: accept connection |
| 14 | + ocsigen:access: connection for local-test from (curl/8.13.0): /index.html |
12 | 15 | ocsigen:ext: [INFO] host found! local-test:0 matches .* |
13 | 16 | ocsigen:ext:staticmod: [INFO] Is it a static file? |
14 | 17 | ocsigen:local-file: [INFO] Testing "./index.html". |
15 | 18 | ocsigen:local-file: [INFO] checking if file index.html can be sent |
16 | 19 | ocsigen:local-file: [INFO] Returning "./index.html". |
17 | | - ocsigen:access: connection for local-test from (curl/8.12.1): /empty_dir/ |
| 20 | + cohttp.eio: [INFO] unix:: disconnected |
| 21 | + cohttp.eio: [INFO] unix:: accept connection |
| 22 | + ocsigen:access: connection for local-test from (curl/8.13.0): /empty_dir/ |
18 | 23 | ocsigen:ext: [INFO] host found! local-test:0 matches .* |
19 | 24 | ocsigen:ext:staticmod: [INFO] Is it a static file? |
20 | 25 | ocsigen:local-file: [INFO] Testing "./empty_dir/". |
21 | 26 | ocsigen:local-file: [INFO] Testing "./empty_dir/index.html" as possible index. |
22 | 27 | ocsigen:local-file: [INFO] No index and no listing |
23 | | - ocsigen:access: connection for local-test from (curl/8.12.1): /doesnt_exists.html |
| 28 | + cohttp.eio: [INFO] unix:: disconnected |
| 29 | + cohttp.eio: [INFO] unix:: accept connection |
| 30 | + ocsigen:access: connection for local-test from (curl/8.13.0): /doesnt_exists.html |
24 | 31 | ocsigen:ext: [INFO] host found! local-test:0 matches .* |
25 | 32 | ocsigen:ext:staticmod: [INFO] Is it a static file? |
26 | 33 | ocsigen:local-file: [INFO] Testing "./doesnt_exists.html". |
| 34 | + cohttp.eio: [INFO] unix:: disconnected |
27 | 35 | application: [WARNING] Command received: shutdown |
28 | 36 |
|
29 | 37 | First response is not compressed: |
30 | 38 |
|
| 39 | + $ echo "Hello world" > index.html |
31 | 40 | $ curl_ "index.html" |
32 | 41 | HTTP/1.1 200 OK |
33 | 42 | content-type: text/html |
|
0 commit comments