Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2016-06-22
深圳市分期乐网络科技有限公司 +1
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the operation of modifying the HTTP response data based on the above plug-ins is cumbersome, which in turn affects the development process of the R&D personnel on web application development, thereby reducing the user experience of the R&D personnel on the HTTP protocol proxy debugging tool.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for modifying HTTP response data
  • Method and device for modifying HTTP response data
  • Method and device for modifying HTTP response data

Examples

Experimental program
Comparison scheme
Effect test

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 ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and device for modifying HTTP response data. The method comprises the steps that when it is monitored that an HTTP request in a conversation list is dragged, conversation data of the HTTP request is acquired, and a response rule corresponding to the HTTP request is set based on the conversion data, wherein the HTTP request in the conversion list is sent by a browser side; when it is monitored that that browser side sends the HTTP request again, the response rule is matched, and the HTTP response data corresponding to the HTTP request is modified based on the response rule. According to the technical scheme adopted in the embodiment, operation for modifying the HTTP response data in an HTTP protocol agent debugging tool is simplified.

Description

technical field [0001] The embodiment of the present invention relates to computer application technology, and in particular to a method and device for modifying HTTP response data. Background technique [0002] Hypertext Transfer Protocol (HyperTextTransferProtocol, HTTP), is the most widely used network protocol on the Internet, which stipulates the rules for mutual communication between browsers and World Wide Web servers. For ordinary Internet users, they only need to input the link address in the browser of the client and click on the link to obtain the web page data information responded by the World Wide Web server. [0003] However, for web front-end developers, they pay more attention to how to analyze and modify the data contained in the network protocol in network communication, and how to realize the debugging of web applications, thus the network protocol proxy debugging tool appeared. , especially the HTTP protocol proxy debugging tool, has been widely used in...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44H04L29/08
CPCG06F11/3438G06F9/4488H04L67/02
Inventor 刘福密
Owner 深圳市分期乐网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products