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

correctly handle empty POST parameters #614

Merged
merged 1 commit into from Mar 15, 2013

Conversation

kung-foo
Copy link

#585 only fixed empty GET parameters. This pull adds empty POST parameter support.

@dram
Copy link

dram commented Mar 14, 2013

Will this pull request be merged in?

@bdarnell bdarnell merged commit c791984 into tornadoweb:master Mar 15, 2013
@bdarnell
Copy link
Member

Thanks for the reminder; I've just merged it.

@dram
Copy link

dram commented Mar 15, 2013

Thx.

It seems that some redundant code left after merge, namely:


     uri_arguments = parse_qs_bytes(native_str(body))
     for name, values in uri_arguments.items():
         values = [v for v in values if v] 

@bdarnell
Copy link
Member

Thanks; fixed.

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

Successfully merging this pull request may close these issues.

None yet

3 participants