lp:~cmiller/desktopcouch/check-http-status-on-api
- Get this branch:
- bzr branch lp:~cmiller/desktopcouch/check-http-status-on-api
Branch merges
- Eric Casteleijn (community): Approve
- Natalia Bidart (community): Approve
-
Diff: 43 lines (+14/-13)1 file modifieddesktopcouch/application/replication_services/ubuntuone.py (+14/-13)
Related bugs
Bug #711208: desktopcouch-service doesn't like UbuntuOne-API error pages | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 265. By Chad Miller
-
Use urllib2, which seperates reading response code from reading content, instead of httplib2, which doesn't. httplib(2) insists that the Content-Length header match the actual length, and Ubuntu One's middleware may change the content in transit. (LP: #711208)
- 264. By Chad Miller
-
When running plugin code in initializing the desktopcouch service, do not call any functions that require that the service be running and answering DBus method calls. In particular, we already know the port couchdb is listening on, so do not ask for that via DBus client call, but explicity pass it into the plugin function calls. (LP: #706939)
- 263. By Chad Miller
-
Ah HTTP error (say, from proxy server) may not return JSON document so we can't depend on being able to decode one. Catch and log those errors.
python-couchdb prepends its own "/" in requests, so our use of them can cause errors when talking to remote hosts.
- 260. By Chad Miller
-
Official python-couchdb replicate() function returns only one value, instead of two that our hack used to use. (LP: #705448)
- 259. By Chad Miller
-
If a record id is not in a database, desktopcouch would raise a strange exception when it was used to try to delete a record. Now, return normally, with value None as the deleted-record id. (LP: #702979)
- 256. By Chad Miller
-
Change to the new system of initiating replication with python-couchdb. (LP: #700128)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:desktopcouch