https://github.com/Binstar/binstar_client/pull/16/files#L1R225