DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to pass header in requests
import
requests r
=
requests
.
get
(
"http://www.example.com/"
,
headers
=
{
"content-type"
:
"text"
}
)
PREVIOUS
NEXT
Tagged:
#pass
#header
#requests
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit