Method and device for modifying HTTP response data
A technology that responds to data and data. It is applied in the direction of program control devices, electrical digital data processing, and program control design. It can solve problems such as cumbersome operations, affect the work process of R&D personnel, and reduce the user experience of HTTP protocol proxy debugging tools. Simplify Modify the operation process, save research and development time, and improve the effect of user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0020] figure 1 It is a schematic flowchart of a method for modifying HTTP response data provided by Embodiment 1 of the present invention. The method can be executed by a device for modifying HTTP response data, wherein the device can be implemented by software and / or hardware, and integrated in the HTTP protocol proxy debugging tool as a part of the HTTP protocol proxy debugging tool.
[0021] Generally, common HTTP protocol proxy debugging tools include Fiddler, HttpWatch, WireShark, and Firebug. All HTTP protocol communications between the end and the World Wide Web server, especially Fiddler, as a HTTP protocol proxy debugging tool, compared with Firebug and HttpWatch, it is applicable to a wider range of browsers, and can support all HTTP proxy settings that can be set to 127.0 .0.1:8888 browsers and applications; at the same time, compared with WireShark’s ability to capture and analyze any network communication protocol, Fiddler reflects the specificity of the HTTP pr...
Embodiment 2
[0032] figure 2 It is a schematic flowchart of a method for modifying HTTP response data provided by Embodiment 2 of the present invention. Embodiment 2 of the present invention is optimized on the basis of the above embodiments. In this embodiment, the step "acquire the session data of the HTTP request, and set the response rule corresponding to the HTTP request based on the session data" is further optimized For: obtaining the session data of the HTTP request, popping up the setting form of the response rule at the same time, the setting form includes 4 editable text boxes, which are respectively alias, URL, HTTP request method parameter and response body; The URL included in the session data, the HTTP request method parameter, and the response data of the HTTP request are correspondingly filled into the editable text box of the setting form; After confirmation, save the setting form, and complete the setting of the response rule.
[0033] In addition, the second implemen...
Embodiment 3
[0061] image 3 It is a schematic flowchart of a method for modifying HTTP response data provided by Embodiment 3 of the present invention. This third embodiment is optimized on the basis of the above-mentioned embodiment. In this embodiment, in the step "after detecting that the browser sends the HTTP request again, match the response rule, and modify the response rule based on the response rule." After the "HTTP response data corresponding to the HTTP request", a step is added: displaying the HTTP request in the session list of the HTTP protocol agent debugging tool in a different manner.
[0062] Such as image 3 As shown, a method for modifying HTTP response data provided by the embodiment of the present invention specifically includes the following operations:
[0063] Step S301, after listening to the drag operation of the HTTP request in the session list, obtain the session data of the HTTP request, and set the response rule corresponding to the HTTP request based on ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com