exclude "/git" for specifying content-type header.