Instance Property

response

The frame’s response.

Declaration

@NSCopying var response: URLResponse { get }

Discussion

Allowing a navigation response with a MIME type that can’t be shown will cause the navigation to fail.

See Also

Inspecting Response Information

var canShowMIMEType: Bool

A Boolean value indicating whether WebKit can display the response’s MIME type natively.

var isForMainFrame: Bool

A Boolean value indicating whether the frame being navigated is the main frame