Accept Sets Content-Type in request. Usage from formation.middleware import accept @client class Google(object): base_uri = "https://google.com" middleware=[ accept('application/json') ] ...