Comment 9 for bug 1135541

Revision history for this message
Mark Washenberger (markwash) wrote : Re: v1 api returns location as header for cached images

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?