python requests.get with header

Don't say anything, let's just look at the picture!

Supplementary knowledge: main content of python http request header

The http request request header mainly includes the following content:

header name function example
Accept Specify the type of content that the client can receive Accept: text/plain, text/html
Accept-Charset The character encoding set that the browser can accept. Accept-Charset: iso-8859-5
Accept-Language Browser acceptable languages Accept-Language: en,zh
Accept-Encoding Specify the web server that the browser can support to return the content compression encoding type. Accept-Encoding: compress, gzip
When a Cookie HTTP request is sent, all cookie values stored in the requested domain name will be sent to the web server together. Cookie: $Version=1; Skin=new;
Content-Type The requested MIME information corresponding to the entity Content-Type: application/x-www-form-urlencoded
Content-Length Requested content length Content-Length: 520
Host Specify the domain name and port number of the requested server Host: www.juziwulian.com
From Email of the requesting user From: [email protected]
Expect The specific server behavior requested Expect: 100-continue
Date The date and time the request was sent Date: Tue, 15 Nov 2020 15:10:01 GMT

The above python requests.get with header is all the content shared by the editor. I hope to give you a reference.

Recommended Posts

python requests.get with header
Getting started with Python(18)
Getting started with Python(9)
Play WeChat with Python
Getting started with Python(8)
Getting started with Python(4)
Web Scraping with Python
Getting started with Python (2)
Getting started with python-1
Getting started with Python(14)
Getting started with Python(7)
Getting started with Python(17)
Getting started with Python(15)
Getting started with Python(10)
Getting started with Python(11)
Getting started with Python(6)
Getting started with Python(3)
Getting started with Python(12)
Getting started with Python(5)
Getting started with Python (18+)
Getting started with Python(13)
Getting started with Python(16)
Implementing student management system with python
Getting started with Numpy in Python
Centos6.7 comes with python upgrade to
Played with stocks and learned Python
Gray-level co-occurrence matrix (with python code)
Speed up Python code with Cython
Getting Started with Python-4: Classes and Objects
How to make a globe with Python
Automatically generate data analysis report with Python
Getting started with python-2: functions and dictionaries
Create dynamic color QR code with Python
Python | Quickly test your Python code with Hypothesis
How to process excel table with python
04. Conditional Statements for Getting Started with Python
How to get started quickly with Python