<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WebPage/NavigationResponse",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "s:6WebKit0A4PageC18NavigationResponseV"
  },
  "title" : "WebPage.NavigationResponse"
}
-->

# WebPage.NavigationResponse

An object that contains the response to a navigation request, and which you use to make navigation-related policy decisions.

```
@MainActor struct NavigationResponse
```

## Overview

A `NavigationResponse` value is intended to be used to make policy decisions about whether to
allow navigation within a web page via a `NavigationDeciding`.

## Topics

### Instance Properties

[`var canShowMimeType: Bool`](/documentation/WebKit/WebPage/NavigationResponse/canShowMimeType)

Indicates whether WebKit is capable of displaying the response’s MIME type natively.

[`var response: URLResponse`](/documentation/WebKit/WebPage/NavigationResponse/response)

The frame’s response.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)