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

Http request processing method and apparatus

A technology of request processing and request sending, applied in the Internet field, can solve problems such as waste of traffic, increase in code volume, increase in file size, etc., and achieve the effects of fast running speed, code saving, and file size reduction

Inactive Publication Date: 2018-09-28
BEIJING KNOWNSEC INFORMATION TECH
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Because it is impossible to determine how the user's browser version handles compatibility, when the code is compiled, the syntax of the code will be downgraded uniformly, which will cause even if the user's browser is a browser that supports new features, However, the code is still using the lower version of the grammar, and cannot enjoy the convenience and advantages brought by the higher version of the grammar
At the same time, this will double the amount of our code, resulting in an increase in file size, wasting traffic, and prolonging the user's waiting time

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
  • Http request processing method and apparatus
  • Http request processing method and apparatus
  • Http request processing method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0042] It should be noted that like numerals and let...

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 present invention provides an http request processing method and apparatus, and relates to the technical field of Internet. The http request processing method is applied to a user terminal which is in communication connection with the server. The method comprises: obtaining support information of a browser supporting the compiled language; adding the support information to header information of an http request corresponding to the browser; and sending the http request added with the support information to the server, so that the server returns the code corresponding to the version of the support information. According to the http request processing method and apparatus provided by the present invention, the code of the corresponding version can be returned according to the support of the browser to the compiled language, the running speed of the code can be improved, the waiting time of the user can be reduced, a large amount of codes can be saved, the file volume can be greatly reduced, and the user traffic consumption can be reduced.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular, to an http request processing method and device. Background technique [0002] In the Internet age, due to the rise of the B / S structure, browsers are playing an increasingly important role in today's Internet age. However, since early browsers did not have a unified standard, each browser has a different understanding of compiled languages ​​(such as JavaScript and CSS, etc.) have different compatibility, but because developers need to make different users have a more friendly experience, a backward compatible development mode has emerged, and they usually choose to give up in order to be compatible with more browsers. Some newer, faster, cleaner code provided by the language. [0003] Because it is impossible to determine how the user's browser version handles compatibility, when the code is compiled, the syntax of the code will be downgraded uniformly, which will c...

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
IPC IPC(8): G06F8/65G06F8/71G06F17/30
CPCG06F8/65G06F8/71
Inventor 张恒
Owner BEIJING KNOWNSEC INFORMATION TECH
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