Skip to content

Cannot close SSL/TLS connection of "Aggressive" keep-alive? #5994

Answered by okay1204
okay1204 asked this question in Q&A
Discussion options

You must be logged in to vote

It turns out the SSL/TLS was just the protocol for HTTPS and requests.get was sending some other headers by default:

{
    'Accept-Encoding': 'gzip, deflate',
    'Accept': '*/*',
    'Connection': 'keep-alive'
}

I can fetch data from the website now- sorry for wasting your time.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@okay1204
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by okay1204
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants