Details
Description
On App startup, we send a GET request for a local Couch DB. If it doesn't exist, we create it. On iPhone 4, the *same* App works, on the iPod, it sends an erroneous error back.
I have attached excerpts from the iPod and iPhone device logs. You can see that the iPhone Couch sends back a 404 (not found), which is correct. The iPod Couch sends back a 400 (Bad Request).
On further investigation, I discovered that when connecting to the device Couches from my browser and attempting the same URLs, the iPod couch was sending back an 'illegal_database_name' response. I have attached this as a separate document.
The App is exactly the same on both devices (i.e. the same version of the Couchbase.framework). The GET requests are the same on both devices. The database name is valid, all lower case, with a couple of underscores and minus characters, beginning with a letter.
I have attached excerpts from the iPod and iPhone device logs. You can see that the iPhone Couch sends back a 404 (not found), which is correct. The iPod Couch sends back a 400 (Bad Request).
On further investigation, I discovered that when connecting to the device Couches from my browser and attempting the same URLs, the iPod couch was sending back an 'illegal_database_name' response. I have attached this as a separate document.
The App is exactly the same on both devices (i.e. the same version of the Couchbase.framework). The GET requests are the same on both devices. The database name is valid, all lower case, with a couple of underscores and minus characters, beginning with a letter.
Our Deployment target is iOS 4.0