redact function

Remove sensitive content from HTTP responses