URL encoding in HTTP
HTTP URLs can only be sent via the Internet by using ASCII character sets , which often contain characters outside the ASCII character set. Therefore unsafe characters must be swapped with a% followed by two hexadecimal digits.
The table below shows the ASCII symbols of their characters and replacements that can be used in the URL before passing it to the Server.
ASCIIBInterfaceThe replacement 32 space + or% 20 33! % 21 34 "% 22 35 #% 23 36 $% 24 37%% 25 38 &% 26 39 '% 27 40 (% 28 41)% 29 42 * * 43 +% 2B 44,% 2C 45 - - 46. 47 /% 2F 48 0 0 49 1 1 50 2 2 51 3 3 52 4 4 53 5 5 54 6 6 55 7 7 56 8 8 57 9 9 58:% 3A 59;% 3B 60 <% 3C 61 =% 3D 62>% 3E 63?% 3F 64 @% 40 65 AA 66 BB 67 CC 68 DD 69 EE 70 FF 71 GG 72 HH 73 II 74 JJ 75 KK 76 LL 77 MM 78 NN 79 OO 80 PP 81 QQ 82 RR 83 SS 84 TT 85 UU 86 VV 87 WW 88 XX 89 YY 90 ZZ 91 [% 5B 92% 5C 93]% 5D 94 ^% 5E 95 _ _ 96 `% 60 97 aa 98 bb 99 cc 100 dd 101 ee 102 ff 103 gg 104 hh 105 ii 106 jj 107 kk 108 ll 109 mm 110 nn 111 oo 112 pp 113 qq 114 rr 115 ss 116 tt 117 uu 118 etc 119 ww 120 xx 121 yy 122 zz 123 {% 7B 124 |% 7C 125}% 7D 126 ~% 7E 127% 7F> 127 Encoding with% xx, with xx being the representation in hexadecimal of characters.According to Tutorialspoint
Previous post: Caching in HTTP
Lesson: Security in HTTP
4 ★ | 2 Vote
You should read it
May be interested
- How HTTP workshypertext transfer protocol (http) provides a network protocol standard that web browsers and servers use to communicate. you see http every day because when you visit a website, the protocol is written right in the url.
- 5 ways to improve website speed with HTTP / 2hypertext transfer protocol version 2 (hypertext transfer protocol version 2) or http / 2 is the latest http standard. updates to this protocol will improve the speed, performance and security of web traffic.
- Full list of HTTP status codes, HTTP Status Codethe http status line is the term given to the http status code (real code) when accompanied by the 'http reason phrase' - the term for the reason (short description).
- MQTT and HTTP: Which protocol is better in the IoT era?the hypertext transfer protocol (http) has always been the most popular communication tool between client and web server. but is it still suitable for the internet of things era?
- Example of Message in HTTPsome examples of message in http make it easier for users to visualize.
- What is HTTP Authentication? 5 Stages of HTTP Authenticationhttp authentication is a security mechanism that helps verify the identity of users when they access web resources.
- How to Execute HTTP POST Requests in Androidhttp post is part of a deprecated http classes like org.apache.http and androidhttpclient as of android 5.1.https://developer.android.com/about/versions/android-5.1.html#http migrate your code to the httpurlconnection classes which...
- Microsoft drastically improves video encoding performance on Windows 11microsoft is currently actively developing a new video encoding api for windows 11 applications as part of the directx 12 project.
- How to use Fiddler to collect HTTP / HTTPS sessions for debuggingfiddler is a free web debugging proxy that records all http / https traffic between your web application and the internet. collecting session data with fiddler can be useful for troubleshooting situations
- What's the difference between HTTP and HTTPS?you probably already know https as an enhanced form of http . however, do you already know the difference between http and https ? if not, let's find out with tipsmake.com!