First, tolerate missing '/info' API endpoint, which Ceph doesn't
support yet. Second, `content_type` attribute on objects may be not
set, don't rely heavily on it.
Change-Id: I101338aa9c96a6551bfbf2dd9c460a4801b4e7b6
Closes-Bug: #1564834
(cherry picked from commit 80e52c1ae5e52abcc83c8efbb469a0d0ce020815)
Reviewed: https:/ /review. openstack. org/301535 /git.openstack. org/cgit/ openstack/ horizon/ commit/ ?id=e49c347b4c7 984e832b3b44014 1d0a53b5f6e8fc
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit e49c347b4c7984e 832b3b440141d0a 53b5f6e8fc
Author: Timur Sufiev <email address hidden>
Date: Mon Apr 4 16:05:35 2016 +0300
Fix new Swift UI to work with Ceph backend
First, tolerate missing '/info' API endpoint, which Ceph doesn't
support yet. Second, `content_type` attribute on objects may be not
set, don't rely heavily on it.
Change-Id: I101338aa9c96a6 551bfbf2dd9c460 a4801b4e7b6 cc83c8efbb469a0 d0ce020815)
Closes-Bug: #1564834
(cherry picked from commit 80e52c1ae5e52ab