Skip to content

Response set-cookie header didn't align with chrome/firefox exported har #121

@ifduyue

Description

@ifduyue

chrome-har behavior (note the \n):

            {
              "name": "set-cookie",
              "value": ".MSA.Auth=; expires=Thu, 01 Jan 1970 00:00:00 GMT; max-age=0; domain=.bing.com; path=/; secure; samesite=lax; httponly\nMUIDB=27EF5FA852976BB80EDC4B1153CD6A16; expires=Tue, 05-Aug-2025 04:00:54 GMT; path=/; HttpOnly"
            },

chrome/firefox exported har behavior:

            {
              "name": "set-cookie",
              "value": ".MSA.Auth=; expires=Thu, 01 Jan 1970 00:00:00 GMT; max-age=0; domain=.bing.com; path=/; secure; samesite=lax; httponly"
            },
            {
              "name": "set-cookie",
              "value": "MUIDB=27EF5FA852976BB80EDC4B1153CD6A16; expires=Tue, 05-Aug-2025 04:00:54 GMT; path=/; HttpOnly"
            },

If it's OK I can submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions