Skip to content

Commit db975cf

Browse files
committed
Add test for implicit 'Host' header
1 parent b2b35a4 commit db975cf

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/http/simple.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,15 @@ Request context is resetted correctly
229229

230230
GET /200
231231

232+
233+
Host header is sent implicitly
234+
235+
Create HTTP Context ${HOST}
236+
GET /hostname
237+
238+
Response Body Should Contain ***${HOST}***
239+
240+
232241
Name-based virtual hosting is supported
233242

234243
# This request will connect to localhost, but with the

0 commit comments

Comments
 (0)