Table of Contents
HTTP Urls: URL Encoding in HTTP is easier to understand when the core ideas are paired with practical examples. The sections below explain the topic clearly, highlight useful steps, and point out details that can prevent common errors.
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
FAQ
What is HTTP Urls: 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.
Why is HTTP Urls: URL Encoding in HTTP important?
A clear understanding of HTTP Urls: URL Encoding in HTTP helps you make informed decisions, avoid common mistakes, and use the relevant tools or techniques more effectively.
How should beginners approach HTTP Urls: URL Encoding in HTTP?
Start with the fundamental concepts, follow the examples step by step, and test each change in a safe environment before applying it to important systems or data.
Reader Comments 0
Sign in with email or Google to join the discussion.