I do believe my patch covers all the cases we need. However, I agree it makes sense to put in a stronger protection to ensure we are not returning 'x-image-meta-location'. It seems like maybe the right place to do this is in glance/common/utils.py image_meta_to_http_headers. But making that change involves a lot of test changes as well.
Maybe we can use the simpler fix for stable branches, and a change to glance/common/utils.py for grizzly+
Stuart:
I do believe my patch covers all the cases we need. However, I agree it makes sense to put in a stronger protection to ensure we are not returning 'x-image- meta-location' . It seems like maybe the right place to do this is in glance/ common/ utils.py image_meta_ to_http_ headers. But making that change involves a lot of test changes as well.
Maybe we can use the simpler fix for stable branches, and a change to glance/ common/ utils.py for grizzly+
Thoughts?