METHODS, SYSTEMS, AND COMPUTER PROGRAM PRODUCTS FOR PREVENTING PROCESSING OF AN HTTP RESPONSE
Methods and systems are described for preventing processing of an HTTP response. In one aspect, first command information identifying a first command for sending in an HTTP request to a server is received from a user agent. A determination is made that no command response for the first command is to be received for delivery from the server to the user agent. A no-return indicator is set in a data storage media, in response to the determination. The first command is sent in the HTTP request to the server. In another aspect, an HTTP request identifying a first command is received from a user agent. No-return-request information is detected for sending no command response for the command for delivery to the user agent. The command is processed, including sending no command response, to the command, for delivery to the user agent.
1 . A method for preventing processing of an HTTP response, the method comprising:
receiving, from a user agent, first command information identifying a first command for sending in a first HTTP request to a server;
determining that the first command is non-returnable indicating that no command response for the first command is to be sent for delivery from the server to the user agent;
setting, in response to the determination, a no-return indicator in a data storage media; and.
sending the first command information in the first HTTP request to the server, wherein the no-return indicator configures a node in a network path including the user agent and the server for sending no command response for the first command for delivery from the server to the user agent.
2 . The method of claim 1 wherein setting the no-return indicator includes storing in the data storage media at least one of storing no-return-request information, indicating that the first command is non-returnable, in a location in a configuration message to send to a server node including the server and storing the no-return indicator in a no-return location for accessing in response to receiving a response message from the server node.
3 . The method of claim 2 wherein at least one of the no-return location and the no-return-request information identifies at least one of a MIME type identifier and an HTTP method token for at least one of specifying a content type that identifies no command response for sending to the user agent and for identifying to the server node the first command as non-returnable.
4 . The method of claim 2 wherein the no-return-request information is defined to indicate at least one of that no command response is to be generated by the server and that the no HTTP response corresponding to the first HTTP request is to be sent by the server node.
5 . The method of claim 2 further includes sending the configuration message to the server node.
6 . The method of claim 5 wherein the configuration message is included in the first HTTP request.
7 . The method of claim 2 further includes receiving at least one of a first HTTP response to the first HTTP request, a combined HTTP response, and an attached HTTP response.
8 . The method of claim 7 further includes receiving a first command response to the first command in at least one of the first HTTP response to the first HTTP request, the combined HTTP response, and the attached HTTP response.
9 . The method of claim 8 further comprising:
accessing the no-return location; and
in response to accessing the no-return location, not sending the first command response to the user agent.
10 . The method of claim 8 wherein at least one of the first HTTP response to the first HTTP request, the combined HTTP response, and the attached HTTP response includes no-return-response information, based on the no-return-request information.
11 . The method of claim 10 wherein the no-return-response information identifies a MIME type specifying a content-type that identifies no command response for sending to the user agent.
12 . The method of claim 1 wherein sending the first HTTP request comprises:
sending the first HTTP request via a connection according to a connection-oriented protocol; and
deactivating, based on setting the no-return indicator, the connection subsequent to sending the first HTTP request to prevent receiving any command response to the first command via the connection.
13 . A method for preventing processing of an HTTP response, the method comprising:
receiving, from a user agent via a first HTTP request, first command information identifying a first command;
detecting no-return-request information identifying the first command as non-returnable for sending no command response for the first command from a server for delivery to the user agent; and
processing the first command including, in response to detecting the no-return-request information, sending no command response for the first command for delivery from the server to the user agent.
14 . The method of claim 13 wherein the no-return-request information is detected based on at least one of a user input detected by an input device, a message sent to the user agent, accessing at least a portion of the no-return-request information from a location in a data storage media, and receiving a configuration message via a network including at least a portion of the no-return-request information.
15 . The method of claim 13 wherein the no-return-request information identifies, defined for identifying the first command as non-returnable, at least one of a MIME type identifier and an HTTP method token.
16 . The method of claim 13 wherein the no-return-request information indicates at least one of that no command response is to be generated by the server and that the first HTTP request has no corresponding HTTP response.
17 . The method of claim 13 wherein detecting the no-return request information includes receiving at least a portion of the no-return-request information in the first HTTP request.
18 . The method of claim 13 wherein the first HTTP request is received via a connection according to a connection-oriented network protocol and sending no command response includes deactivating the connection subsequent to receiving the first HTTP request to prevent sending any command response to the first command via the connection.
19 . The method of claim 13 wherein the sending no command response includes sending no-return-response information based on the no-return-request information in at least one of a first HTTP response to the first HTTP request, a combined HTTP response, and an attached HTTP response, wherein the no-return-response information is for preventing any command response to the first command from being delivered to the user agent.
20 . A system for preventing processing of an HTTP response, the system comprising:
an execution environment including an instruction processing unit configured to process an instruction included in at least one of a request agent component, a no-response detector component, a no-response policy component, and a request-out component;
the request agent component configured for receiving, from a user agent, first command information identifying a first command for sending in a first HTTP request to a server;
the no-response detector component configured for determining that the first command is non-returnable indicating that no command response for the first command is to be sent for delivery from the server to the user agent;
the no-response policy component configured for setting, in response to the determination, a no-return indicator in a data storage media; and
the request-out component configured for sending the first command information in the first HTTP request to the server, wherein the no-return indicator configures a node in a network path including the user agent and the server for sending no command response for the first command for delivery from the server to the user agent.
21 . A system for preventing processing of an HTTP response, the system comprising:
an execution environment including an instruction processing unit configured to process an instruction included in at least one of a request-in component, a response detector component, and a response director component;
the request-in component configured for receiving, from a user agent via a first HTTP request, first command information identifying a first command;
the response detector component configured for detecting no-return-request information identifying the first command as non-returnable for sending no command response for the first command from a server for delivery to the user agent; and
the response director component configured for processing the first command including, in response to detecting the no-return-request information, sending no command response for the first command for delivery from the server to the user agent processing the first command including, in response to detecting the no-return-request information, sending no command response for the first command for delivery from the server to the user agent
22 . A computer readable medium embodying a computer program, executable by a machine, for preventing processing of an HTTP response, the computer program comprising executable instructions for:
receiving, from a user agent, first command information identifying a first command for sending in a first HTTP request to a server;
determining that the first command is non-returnable indicating that no command response for the first command is to be sent for delivery from the server to the user agent;
setting, in response to the determination, a no-return indicator in a data storage media; and
sending the first command information in the first HTTP request to the server, wherein the no-return indicator configures a node in a network path including the user agent and the server for sending no command response for the first command for delivery from the server to the user agent.
23 . A computer readable medium embodying a computer program, executable by a machine, for preventing processing of an HTTP response, the computer program comprising executable instructions for:
receiving, from a user agent via a first HTTP request, first command information identifying a first command;
detecting no-return-request information identifying the first command as non-returnable for sending no command response for the first command from a server for delivery to the user agent; and
processing the first command including, in response to detecting the no-return-request information, sending no command response for the first command for delivery from the server to the user agent.