File: nopersistency-close.sh

package info (click to toggle)
netclient 0.91-10
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,096 kB
  • ctags: 1,539
  • sloc: ml: 8,808; sh: 527; makefile: 203
file content (10 lines) | stat: -rw-r--r-- 312 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
. helpers.sh

start_test_server \
    -line 1 -file data/nopersistency-close -reconnect \
    -line 1 -file data/nopersistency-close
trap "stop_test_server" EXIT
request -get / -get / -run

# Because the reply contains a 'connection: close' header, it is expected 
# that the second GET forces a new connection.