cordova/cordova-ios — Issue #3: PGFileTransfer crashes with 303 and empty response
Author: mckamey
Created: 2012-01-09 22:25:02+00:00
State: open

It appears that when PhoneGap FileTransfer receives a 303 HTTP status code with an empty result from the remote server, the component crashes with an NSInvalidArgumentException.

Not sure if any of this console dump is helpful...

```
2012-01-09 12:37:31.638 XYZ[12677:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: response)'
*** First throw call stack:
(0x342618bf 0x344b11e5 0x342617b9 0x342617db 0x341ce6bb 0x1a195 0x35c6dc39 0x35bc56e9 0x35bc56b3 0x35bc55d5 0x322738a5 0x32268545 0x32268243 0x32268179 0x34235b03 0x342352cf 0x34234075 0x341b74dd 0x341b73a5 0x30a3bfcd 0x37638743 0x2cd3 0x2c8c)
terminate called throwing an exception
```