Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Headers and queries with multiple/null values are not fully supported #680

Open
daviddenton opened this issue Jul 10, 2023 · 2 comments
Open
Assignees
Labels
enhancement Improvement to an existing feature

Comments

@daviddenton
Copy link

HTTP allows multiple headers/queries with the same name to be sent, as well as for there to be null values - eg.
/path?query=1&query&query=3

This is problematic if we are capturing things like Cookie headers which are often sent in multiple entities.

The types inside the Specmatic codebase only support Map<String, String> instead of Map<String, List<String?>.

@jaydeepk
Copy link
Collaborator

Thanks for reporting this @daviddenton.
We'll have a look at this and get back to you.

@jaydeepk jaydeepk added the enhancement Improvement to an existing feature label Aug 1, 2023
@harikrishnan83
Copy link
Member

bump

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

4 participants