class_docstr: Matches requests from hosts specified by ``host_pattern`` regex.
class_docstr_tok: ["Matches","requests","from","hosts","specified","by","``","host_pattern","``","regex","."]
code: def match(self, request):
      if self.host_pattern.match(request.host_name):
          return {}
  
      return None
  
imports: from __future__ import absolute_import, division, print_function
  import re
  from functools import partial
  from tornado import httputil
  from tornado.httpserver import _CallableAdapter
  from tornado.escape import url_escape, url_unescape, utf8
  from tornado.log import app_log
  from tornado.util import basestring_type, import_object, re_unescape, unicode_type
label_desc: Use image node_id 2 for calling the HostMatches obj's underlying member method code with example usage: obj.match(request) and returns: None, dict