location property

String? location
getter/setter pair

The value to put in the HTTP location header of the response.

The location can contain capture group values from the pattern using a : prefix to identify the segment and an optional * to capture the rest of the URL. For example: "glob": "/:capture*", "statusCode": 301, "location": "https://example.com/foo/:capture"

Required.

Implementation

core.String? location;