python - Validation of signed cookie fails with request lib -


our signed cookies implementation works in firefox, chrome , ie.

we use requests library testing.

for reason request library seem alter cookie data.

we use session in docs: http://docs.python-requests.org/en/latest/user/advanced/

any idea why library changes cookie data?

not characters allowed inside cookie.

see https://github.com/kennethreitz/requests/issues/286

the library requests alters data.

a solution might store cookie data base64 encoded.

related: allowed characters in cookies


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -