Chapter 3. The LWP Class Model
来源:互联网 发布:什么叫绿鞋机制知乎 编辑:程序博客网 时间:2024/06/14 20:09
Chapter 3. The LWP Class Model为了完全访问 HTTP 事务的每个部分 ---请求 headers 和body,响应状态line 和headers 和body你需要超越 LWP::Simple。本章主要介绍 LWP 类使用代表浏览器对象(你可以用它来制作请求) 和响应对象( 请求的结果).你将学习定制要求和检测反应的基本机制,我们将在后面的章节中使用cookies,语言选择,搜索,和更多。3.1. The Basic Classes 基本的类在LWP的 对象模型里, 你执行GET,HEAD,和POST 请求通过一个LWP::UserAgent类的浏览器对象(a.k.a. a user agent object)结果是HTTP 响应 HTTP::Response的类。 这个是两个主要的类, 和其他附属的类提供的功能。比如cookie管理和user agents 还有更多的类处理非HTTP网络方面,如HTML。在本章中,我们将处理需要执行网络请求的类。类可以单独加载:use LWP::UserAgent;use HTTP::Response;
0 0
- Chapter 3. The LWP Class Model
- Inside the C++ Object Model chapter 1
- (Chapter 9) 9.1 The Rectangle class
- (Chapter 9) 9.2 The Stock class
- [Django] Base class in the model layer
- 《Inside C++ Object Model》 Chapter 2 : The semantics of Constructor
- Inside the C++ Object Model阅读笔记:Chapter 1
- Inside the C++ Object Model阅读笔记:Chapter 2
- inside the C++ object model chapter 4 the semantics of function学习笔记
- inside the C++ object model chapter 3 the semantics of data
- 作业笔记:How to evaluate the two-class classification model?
- CLR ViA C# 2/Chapter 1 The CLR’s Execution Model CLR/1
- 机器学习学习笔记 Chapter 1.3-1.4 : Model Selection & the Curse of Dimensionality
- Chapter 2 Basic Programming Model
- chapter 3.4 I/O model
- chapter 5.1: object model介绍
- Chapter 10 Hidden Markov Model
- LWP::UserAgent - Web user agent class Web 用户agent 类:
- Material Design学习笔记---海拔和阴影
- 一个人生活,如何摆脱孤独提升幸福感?
- Cookie/Session机制详解
- oracle卸载 oracle11g安装细节+ x5的配置
- 快速排序(Quicksort)
- Chapter 3. The LWP Class Model
- 链表面试题小结
- Mongodb与Redis应用指标对比
- iOS设计模式--桥接
- xml
- openwrt下VLAN的配置
- 关于ImageLoadingProgressListener不执行的囧事儿。
- iOS xxx.pch
- java4大基本算法加密解析