fix content-type detection in policy violation handler
gofmt