Method and system for processing HTTP requests with multiple application instances
First Claim
1. A method for processing a hypertext transfer protocol HTTP request, the method comprising the steps of:
- receiving an original HTTP request for accessing an instance of an application at a first URL (Universal Resource Locator) including a domain name part;
changing the first URL to a second URL by modifying the domain name part of the first URL to a new domain name different from the domain name part of the first URL by adding one or more randomly generated characters followed by a period to a header of the first URL when the domain name part of the first URL is identical to a domain name of the application, so as to generate a new HTTP request for accessing the instance of the application at a second URL including the new domain name part; and
sending the new HTTP request to a server of the application so as to access the instance of the application,wherein the first URL and the second URL correspond to a same IP address because the second URL acts as a wildcard domain for the first URL.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a system for processing an HTTP request. There is provided a method for processing an HTTP request, including: receiving an original HTTP request for accessing an instance of an application; modifying a domain name to be accessed; and sending the new HTTP request to a server of the application so as to access the instance of the application, wherein the domain name to be accessed by the original HTTP request and the new domain name correspond to a same IP address. This avoids various problems such as data confusion, data error, and use inconvenience in the related art occurring when a plurality of service instances of a same application run in a same hypertext transfer protocol session. A system for carrying out the above method is also provided.
41 Citations
22 Claims
-
1. A method for processing a hypertext transfer protocol HTTP request, the method comprising the steps of:
-
receiving an original HTTP request for accessing an instance of an application at a first URL (Universal Resource Locator) including a domain name part; changing the first URL to a second URL by modifying the domain name part of the first URL to a new domain name different from the domain name part of the first URL by adding one or more randomly generated characters followed by a period to a header of the first URL when the domain name part of the first URL is identical to a domain name of the application, so as to generate a new HTTP request for accessing the instance of the application at a second URL including the new domain name part; and sending the new HTTP request to a server of the application so as to access the instance of the application, wherein the first URL and the second URL correspond to a same IP address because the second URL acts as a wildcard domain for the first URL. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer program product for processing a hypertext transfer protocol HTTP request, the computer program product comprising a hardware computer readable storage medium having program code embodied therewith, the program code readable/executable by a computer to perform a method comprising:
-
receiving an original HTTP request for accessing an instance of an application at a first URL (Universal Resource Locator) including a domain name part; changing the first URL to a second URL by modifying the domain name part of the first URL to a new domain name different from the domain name part of the first URL by adding one or more randomly generated characters followed by a period to a header of the first URL when the domain name part of the first URL is identical to a domain name of the application, so as to generate a new HTTP request for accessing the instance of the application at a second URL including the new domain name part; and sending the new HTTP request to a server of the application so as to access the instance of the application, wherein the first URL and the second URL correspond to a same IP address because the second URL acts as a wildcard domain for the first URL. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
Specification