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

The functionlity with the content-type its rare #146

Open
jcalderin opened this issue Feb 5, 2015 · 0 comments
Open

The functionlity with the content-type its rare #146

jcalderin opened this issue Feb 5, 2015 · 0 comments

Comments

@jcalderin
Copy link
Contributor

The functionality implemented in PEP that inspect the content-type header its rare:

  • When the header content-type is */json: The payload is checked, if is not a json valid, there is an error in pep
  • When the headers content-type is */xml': The payload is not checked, and you can pass anything you want, xml, json, text...
  • When the headers content-type its different of */json or */xml: the payload is going to send always empty

There is no error, but the way it works its... rare

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

No branches or pull requests

1 participant