Interceptor for auto-content-type