September 2018
Intermediate to advanced
426 pages
10h 46m
English
Python provides a series of modules to create an HTTP client. The modules that Python provides in the standard library are httplib, urllib, and urllib2. These modules have different capabilities among all of them, but they are useful for most of your web tests. We can also find httplib packages and requests that provide some improvements over the standard httplib module.
This module defines a class that implements the HTTPConnection class.
The class accepts a host and a port as parameters. The host is required and the port is optional. An instance of this class represents a transaction with an HTTP server. It must be instantiated by passing a server identifier and an optional port number. If the port number ...
Read now
Unlock full access