Fix the middleware MIME type

This is still a hangover from some code coping from glance.

Closes-bug: #1252887
Change-Id: I7e2ebe0a51fc88dff5fb17a5251bb711216f8139
Merge "Fix the middleware MIME type"