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

Specify required post headers #119

Closed
wants to merge 4 commits into from

Conversation

1602
Copy link

@1602 1602 commented Sep 13, 2013

This pull request fixes issue with sending post data via query params. OAuth2 module requires correct headers to be set when you use its private method _request.

@1602
Copy link
Author

1602 commented Oct 17, 2013

Fixed

@phairow
Copy link
Contributor

phairow commented Oct 9, 2014

the content type should be configurable so this is too restrictive. if you need to set it for your methods, add a parameter to each method in your definition with the name of 'Content-Type' and a default value using an enum prevents users from entering other values. long term this will be solved with hidden parameters since as far as I know they aren't yet supported.

@phairow phairow closed this Oct 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants