'Construct a Cookies object from request header data.'

@classmethod
def from_request(cls, header_data, ignore_bad_cookies=False):

    cookies = Cookies()
    cookies.parse_request(header_data, ignore_bad_cookies=ignore_bad_cookies)
    return cookies
