dave bonner is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

having one of those days where i'm fighting my tools and ready to scream.

for some reason, flask's test client doesn't provide easy access to cookies. neither does the response object it returns.

dave bonner @rascalking

ugh. okay, so...user error.

if your server is setting cookies and specifying the domain, your calls to client.get() needs to pass a full url, not just the path. and the domains need to match, just like for a regular browser.

for some reason i was assuming the test client would just ignore the domain rules for a browser.

· Web · 0 · 0