Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Query parameter without equals sign are not added to Request.Query #624

Closed
pakrym opened this issue May 5, 2016 · 2 comments
Closed

Query parameter without equals sign are not added to Request.Query #624

pakrym opened this issue May 5, 2016 · 2 comments
Assignees
Milestone

Comments

@pakrym
Copy link
Contributor

pakrym commented May 5, 2016

For request http://localhost:5000/?q query collection would be empty so to check if parameter exists user would need to parse it manually. On other hand http://localhost:5000/?= works and creates item with empty name and empty value, which is semantically correct but is much less useful.

@danroth27 danroth27 added this to the 1.0.0 milestone May 9, 2016
@danroth27 danroth27 added the bug label May 9, 2016
@muratg
Copy link

muratg commented May 19, 2016

@moozzyk If a key doesn't have any value, just make it an empty string.

moozzyk pushed a commit that referenced this issue May 19, 2016
moozzyk pushed a commit that referenced this issue May 23, 2016
moozzyk pushed a commit that referenced this issue May 23, 2016
moozzyk pushed a commit that referenced this issue May 23, 2016
@moozzyk
Copy link
Contributor

moozzyk commented May 23, 2016

Fixed in e854d3a

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants