Commit f5f8d9a
committed
Reimplement HTTP::URI with native component storage
Replace Addressable::URI delegation with direct instance variables for
all URI components (scheme, user, password, host, port, path, query,
fragment). ASCII URIs are now parsed with Ruby's stdlib URI module;
Addressable is only used as a fallback for non-ASCII (IRI) strings and
for IDNA host normalization.1 parent 0d8463f commit f5f8d9a
6 files changed
Lines changed: 692 additions & 73 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
21 | 26 | | |
22 | 27 | | |
23 | 28 | | |
| |||
0 commit comments