URLs are standardized names for internet Resources. The URL points to each electronic message, tells them where it is, and how to interact with it.
URL syntax, and the meanings of various URL components and their Work.
Many Web clients
We all know that the transmission of the parameters in the HTTP protocol is a "Key=value" in the form of a, if you want to pass multiple parameters, you need to use the "&" symbol to split the key value pairs. such as "? Name1=value1&name2=value2",
Apache URL rewriting rules and apacheurl Rewriting1. Introduction
The rewrite function of Apached is the mod_rewrite module function, which is a module of apache. It is very powerful and can operate all parts of the URL.
Therefore, we can rewrite
The difference between 301 and 302 in the HTTP return code(2012-10-15 22:06:09)reproduced
Tags: gossip
Category: Front page control
A Official statement301,302 is the encoding of the HTTP state, which means that a
The following is the commonly used ANSI control code found. However, I have never succeeded in saving the control code and restoring the cursor position. I first use/033 [s to save the current cursor position, and then use/033 [X; YH to set the
Abstract: This article describes the conversion algorithms of common encodings in detail after sorting out various types of data.
I. general character set (UCS)
ISO/IEC 10646-1 [ISO-10646] defines a character set of more than 8 bits, known as the
The solution of URL passing parameters (special characters) in JavaScript and the introduction of transcoding decoding some symbols cannot be passed directly in the URL, and if you want to pass these special symbols in the URL, use their encoding.
I. ASCII codeWe know that in a computer, all information is eventually represented as a binary string. Each binary bit has two states: 0 and 1. Therefore, eight binary bits can combine 256 states, which is called a byte ). That is to say, a single
Spaces-%20
"-%22
#-%23
%-%25
&-%26
(-%28
)-%29
+-%2B
,-%2c
/-%2F
:-%3a
; -%3b
=-%3d
>-%3e
? -%3f
@-%40
\-%5C
| -%7c
Passing special characters such as a plus sign in a URL
Some characters in the URL are escaped, such as the space is encoded into
Recently encountered in the project need to encode a problem, in encode and encodeuricomponent around a small circle, so intends to summarize the JS coding problem, there are many similar articles on the Internet, but, summed up the thing is their
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.