Skip to content

Enable cookie parsing for URLs which are IP-based, not DNS #968

Closed
@asvetlov

Description

Long story short

Working on aiohttp_session I've figured out that current behavior is not convenient for development and tests writing.

Expected behaviour

Don't ignore Set-Cookie from sites with IP address in URL

It's result of #799 PR

@panda73111 could you remind why you have added the filter?

As an option we can have StrictCookieJar class or strict=True CookieJar parameter with IP filter enabled but I believe default behavior should accept cookies from IP URLs.

@popravich what do you think?

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions