aliyunsdkcore源码简析
aliyunsdkcore源码 一、目录结构 aliyunsdkcore --acs_exception # 异常相关 --__init__.py --error_code.py # 定义了error的id名 --error_msg.py # 定义了部分和error_code对应的描述信息 --error_type.py # 定义了四种错误类型:clint、server、throttling、unknown --exceptions.py # 定义了ClintException、ServerException --auth # 认证相关 --http # http连接相关 --__init__.py --format_type.py # 定义可接受文档类型(xml、json、raw)及相关方法 --http_request.py # 定义HttpRequest --http_response.py # 定义HttpResponse --method_type.py # 定义了6种基本请求方法 --protocol_type.py # 定义http和https --profile # 解...