Skip to content

Conversation

blacha
Copy link
Contributor

@blacha blacha commented May 28, 2016

JS SDK file upload uses req.body._ContentType to specify the upload content type

JS SDK file upload uses req.body._ContentType to specify the upload content type
@ghost
Copy link

ghost commented May 28, 2016

@blacha updated the pull request.

@ghost
Copy link

ghost commented May 28, 2016

@blacha updated the pull request.

@codecov-io
Copy link

codecov-io commented May 28, 2016

Current coverage is 91.91%

Merging #1935 into master will increase coverage by <.01%

  1. 3 files (not in diff) in src were modified. more
    • Misses +2
    • Hits +67
@@             master      #1935   diff @@
==========================================
  Files            91         91          
  Lines          6396       6468    +72   
  Methods        1097       1118    +21   
  Messages          0          0          
  Branches       1340       1369    +29   
==========================================
+ Hits           5875       5945    +70   
- Misses          521        523     +2   
  Partials          0          0          

Powered by Codecov. Last updated by 1487a73...1a8787a

@ghost
Copy link

ghost commented May 29, 2016

@blacha updated the pull request.

@flovilmart
Copy link
Contributor

Awesome!

@flovilmart flovilmart merged commit 3997b1a into parse-community:master May 31, 2016
}
if (req.body._ContentType) {
req.headers['content-type'] = req.body._ContentType;
delete req.body_contentType;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be body._ContentType?

@flovilmart
Copy link
Contributor

Yep you're right! I'll patch

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

Successfully merging this pull request may close these issues.

4 participants