Added text/javascript as a possible content-type response to the _validate method
Some api provider like dropbox core api use text/javascript instead application/json as content-type response
BUG=
R=nweiz@google.com

Review URL: https://codereview.chromium.org//177093006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33001 260f80e4-7a28-3924-810f-c04153c831b5
2 files changed
tree: 0f61b143b9bc2704f0cf1c9b2c2f4f170d037507
  1. lib/
  2. test/
  3. LICENSE
  4. pubspec.yaml