Allowe content type image/gif image/jpg by default

Allowe content type image/gif image/jpg by default and
add method can setResponseContentType when response's head is null.