'Check the existence and the format of response headers'

def assertHeaders(self, resp, target, method):

    self.assertThat(resp, custom_matchers.ExistsAllResponseHeaders(target, method, self.policies))
    self.assertThat(resp, custom_matchers.AreAllWellFormatted())
