Added content_disposition == 'inline'-check