Skip to content

add support for multipart/form-data content-type #136

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

Open
masihyeganeh opened this issue Mar 24, 2013 · 1 comment
Open

add support for multipart/form-data content-type #136

masihyeganeh opened this issue Mar 24, 2013 · 1 comment

Comments

@masihyeganeh
Copy link

It seems that oauth ignores post_content_type and change it to application/x-www-form-urlencoded

if( typeof post_body != "string" ) {
    post_content_type= "application/x-www-form-urlencoded"
    extra_params= post_body;
    post_body= null;
  }

please add support for that

@pixeldrew
Copy link

Are you using the put or post method? you have to explicitly set the post_body so this doesn't happen.

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

No branches or pull requests

2 participants