Lines Matching refs:host
44 def host(host_header, status): function
169 host('example', 200)
170 host('www.example', 404)
171 host('example.com', 404)
172 host('exampl', 404)
592 host('localhost.', 200)
593 host('localhost.', 200)
594 host('.localhost', 404)
595 host('www.localhost', 404)
596 host('localhost1', 404)
611 host('127.0.0.1', 200)
612 host('127.0.0.1:8080', 200)
618 host('[::1]', 200)
619 host('[::1]:8080', 200)
626 host('example.com', 200)
633 host('example.com', 200)
634 host('www.example.com', 404)
635 host('!www.example.com', 200)
641 host('example.com', 200)
642 host('www.example.com', 404)
648 host('example.com', 200)
649 host('EXAMPLE.COM', 200)
655 host('example.com:8080', 200)
661 host('', 200)
940 host('Localhost', 200)
941 host('localhost.com', 404)
942 host('llocalhost', 404)
943 host('host', 404)
1080 host('', 200)