Skip to content

How should I specify cookies for an HTTP protocol open request? #918

Answered by martindurant
jthielen asked this question in Q&A
Discussion options

You must be logged in to vote

You need to include your cookies in client_kwargs:

fsspec.open(filename, client_kwargs=requests_kwargs)

Note that fsspec's HTTP backend uses aiohttp, not requests.

Replies: 2 comments 3 replies

Comment options

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

Comment options

You must be logged in to vote
2 replies
@jthielen
Comment options

@martindurant
Comment options

Answer selected by jthielen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants