'Add defaults for \'Content-Type\' and \'Host\' headers.'

def add_default_headers(self, headers):

    headers['Content-Type'] = 'application/x-www-form-urlencoded'
    headers['Host'] = self.host
    return headers
