Class URLRewrite (0.2.1)

URLRewrite(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The specification for modifying the URL of the request, prior to forwarding the request to the destination.

Attributes

NameDescription
path_prefix_rewrite str
Prior to forwarding the request to the selected destination, the matching portion of the requests path is replaced by this value.
host_rewrite str
Prior to forwarding the request to the selected destination, the requests host header is replaced by this value.

Inheritance

builtins.object > proto.message.Message > URLRewrite