'Upon first inspection, it would seem that this shouldn\'t be necessary, but for some reason
not having a constructor explicitly set the request method breaks PUT requests.'

def __init__(self, method):

    self.valid_methods = ['GET', 'HEAD', 'POST', 'PUT', 'DELETE']
    self.redirect_codes = ['301', '302', '303', '307']
    self.method = method
