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

Fix wrap-nested-params for non-form content-types #235

Merged
merged 1 commit into from
Dec 13, 2014

Commits on Dec 13, 2014

  1. Fix wrap-nested-params for non-form content-types

    The `wrap-nested-params` always kicked in, except when the :content-type
    was set to :json. When sending nested structures as :edn or :transit the
    payload got also nested. This PR fixes that problem, by only nesting if
    there is no content type set (which defaults to x-www-form-urlencoded)
    or if the content type is x-www-form-urlencoded.
    r0man committed Dec 13, 2014
    Configuration menu
    Copy the full SHA
    4044f85 View commit details
    Browse the repository at this point in the history