ded/reqwest — Issue #70: Why is the default type 'js'?
Author: connormontgomery
Created: 2012-02-05 01:27:53+00:00
State: open

in `setType` ([link](https://github.com/ded/reqwest/blob/master/src/reqwest.js#L154)), if the developer doesn't set a `type` when using reqwest, it defaults to `js`. I'm curious as to why it's that, instead of `html` or `json'?

The reason I ask is this tripped me up today and I kept getting an `Unexpected token :` error until I specified the type I wanted to return was json. Just curious why it's `js` in particular.

h5's.