only flash when the request is html
some styling