sanitized method

SentryRequest sanitized()

Implementation

SentryRequest sanitized() {
  final urlDetails = HttpSanitizer.sanitizeUrl(url) ?? UrlDetails();
  return copyWith(
    url: urlDetails.urlOrFallback,
    queryString: urlDetails.query,
    fragment: urlDetails.fragment,
    headers: HttpSanitizer.sanitizedHeaders(headers),
    removeCookies: true,
  );
}