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

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

2 participants

@masihyeganeh

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

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