主权项 |
1. A system comprising:
a client configured to:
receive, from a user of the client, input indicating a universal resource locator (URL) and not indicating a port number;responsive to receiving the input, display the URL;responsive to receiving the input, generate a first request for a resource, the first request including a first network location identifying a location of the resource on a server, the first network location including the URL and a first port number;transmit the first request;receive, in response to transmitting the first request, a redirect message, the redirect message including a second network location, the second network location including the URL and a second port number;generate, in response to receiving the redirect message, a second request including the second network location;transmit the second request;receive a second response containing a modified resource; anddisplay the modified resource with the display of the URL; a network gateway configured to:
receive the first request;determining that the URL is associated with a rule indicating proxying;generate, in response to determining that the URL is associated with a rule indicating proxying, the redirect message; and;transmit the redirect message; a proxy configured to:
receive the second request;generate, in response receiving the second request, a third request including the first network location;transmit the third request;receive a first response containing the resource;generate the modified resource based on the resource;transmit the second response containing the modified resource; the server configured to:
receive the third request;transmit a first response containing the resource; a local network hosting the client, the local network configured to:
transmit messages between the client, the network gateway, and the proxy; a wide-area network hosting the server, the wide-area network configured to:
transmit messages between the network gateway, the proxy, and the server; and wherein the network gateway and the proxy are on the edge of the local network and on the edge of the wide-area network. |