[Libs/HTTP] Add all delim chars from RFC 3986 standard

This commit is contained in:
2025-05-12 11:34:22 +03:00
committed by Max Logaev
parent a3cbf31b70
commit 51e5af4e30

View File

@@ -2021,15 +2021,15 @@ str_head db 'HEAD ', 0
str_post db 'POST ', 0 str_post db 'POST ', 0
bits_must_escape: bits_must_escape:
; bit 31 <======== ========> bit 0 ; bit 0 ===> bit 31
dd 0xffffffff ;00-1F dd 0xffffffff ;00-1F
dd 1 shl 0 + 1 shl 2 + 1 shl 3 + 1 shl 5 + 1 shl 6 + 1 shl 11 + 1 shl 28 + 1 shl 30 ; "#%&+<> dd 0b11111100000000001001111111111111 ; !"#$%&'()*+,/:;<=>?
dd 1 shl 27 + 1 shl 28 + 1 shl 29 + 1 shl 30 ;[\]^ dd 0b01111000000000000000000000000001 ;@[\]^
dd 1 shl 0 + 1 shl 27 + 1 shl 28 + 1 shl 29 + 1 shl 31 ;`{|} DEL dd 0b10111000000000000000000000000001 ;`{|} DEL
dd 0xffffffff ;80-9F
dd 0xffffffff dd 0xffffffff ;A0-BF
dd 0xffffffff dd 0xffffffff ;C0-DF
dd 0xffffffff dd 0xffffffff ;E0-FF
dd 0xffffffff
str_hex: str_hex:
db '0123456789ABCDEF' db '0123456789ABCDEF'