mattt/Orbiter — pull request #12 by myusuf3 (2013-05-20 23:09:02+00:00)
Title: making default header application/json

...complaining about

UrbanAirship was complaining about the content type, not being one of the following;

- text/json
- application/json
- text/javascript

it seems to be defaulting to text/plain which causes Urban Airship to throw an error causing the error block to always be executed, the device still does register though.

```
2013-05-20 18:38:31.133 Neckbeard[9426:907] Registration Error: Error Domain=AFNetworkingErrorDomain Code=-1016 "Expected content type {(
"text/json",
"application/json",
"text/javascript"
)}, got text/plain" UserInfo=0x1fd52d80 {NSLocalizedRecoverySuggestion=OK, AFNetworkingOperationFailingURLRequestErrorKey=>, NSErrorFailingURLKey=https://go.urbanairship.com/api/device_tokens/, NSLocalizedDescription=Expected content type {(
"text/json",
"application/json",
"text/javascript"
)}, got text/plain, AFNetworkingOperationFailingURLResponseErrorKey=}
```