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 11 $ source .. / .. / server-test-helpers. sh
22 $ run_server ./ test. exe
33 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
55 ocsigen: ext: [INFO] host found! local-test: 0 matches .*
66 ocsigen: ext: staticmod: [INFO] Is it a static file?
77 ocsigen: local-file: [INFO] Testing " ./index.html" .
88 ocsigen: local-file: [INFO] checking if file index . html can be sent
99 ocsigen: ext: [INFO] Compiling exclusion regexp $^
1010 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
1212 ocsigen: ext: [INFO] host found! local-test: 0 matches .*
1313 ocsigen: ext: staticmod: [INFO] Is it a static file?
1414 ocsigen: local-file: [INFO] Testing " ./index.html" .
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ curl_ ()
3737{
3838 local path=$1 ; shift
3939 # 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 " | \
4142 grep -v " ^date: "
4243}
You can’t perform that action at this time.
0 commit comments