pillar/pillar/application
Sybren A. Stüvel ff8d5c96b7 stream_to_gcs: Return a BadRequest(400) error when content type is missing
We're using uploaded_file.content_type.startswith('image/'), which
fails with an AttributeError if uploaded_file.content_type is None. We
now check for this and properly return info about the missing conten type
to the caller.
2016-07-07 11:11:06 +02:00
..
2015-08-31 18:22:50 +02:00