File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 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
+ ocsigen: access: connection for local-test from (): / index . html
5
5
ocsigen: ext: [INFO] host found! local-test: 0 matches .*
6
6
ocsigen: ext: staticmod: [INFO] Is it a static file?
7
7
ocsigen: local-file: [INFO] Testing " ./index.html" .
8
8
ocsigen: local-file: [INFO] checking if file index . html can be sent
9
9
ocsigen: ext: [INFO] Compiling exclusion regexp $^
10
10
ocsigen: local-file: [INFO] Returning " ./index.html" .
11
- ocsigen: access: connection for local-test from (curl / 8.12 . 1 ): / index . html
11
+ ocsigen: access: connection for local-test from (): / index . html
12
12
ocsigen: ext: [INFO] host found! local-test: 0 matches .*
13
13
ocsigen: ext: staticmod: [INFO] Is it a static file?
14
14
ocsigen: local-file: [INFO] Testing " ./index.html" .
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ curl_ ()
37
37
{
38
38
local path=$1 ; shift
39
39
# Remove the 'date' header, which is unreproducible
40
- curl --unix-socket ./local.sock -s -i " $@ " " http://local-test/$path " | \
40
+ curl --unix-socket ./local.sock --user-agent " " -s -i \
41
+ " $@ " " http://local-test/$path " | \
41
42
grep -v " ^date: "
42
43
}
You can’t perform that action at this time.
0 commit comments