okra | C99 URI parser library. |
| download: http://git.y1.nz/archives/okra.tar.gz | |
| README | Files | Log | Refs |
TODO
1 Things that would improve this library:
2 [ ] Implement parsing of ipv6 hosts (skipped it bc lazy for min viable)
3
4 [ ] Figure out how to (OR WHETHER TO) expose sub-component structure
5 as in, should an OkraUri object include:
6 - separated path segments?
7 - host/port/userinfo in addition to just Authority
8 Pro: It would improve the user experience, and keep the
9 responsibility for "parsing" internal to Okra. And the information
10 is already accessible, by nature of how parsing already works...
11 Con: it messies base.c, it incurs more complexity in merge/recompose,
12 it requires more-complex memory management...
13
14 [ ] Use strcpy when possible over manually copying buffers
15
16 [ ] Refactor the ABNF-based code to be less ad-hoc
17
18 [ ] Use valgrind to find memory leaks (there definitely are some I think)
19
20 [x] Add installation make targets
21
22 [ ] Implement algorithms described in the spec:
23 [x] Merge relative into base URI (5.2)
24 [ ] Normalization/equivalence checks (6.2.2)
25 * is this one in-scope?
26 [x] Component recomposition (5.3)
27
28 [ ] Add more extensive testing, cover more edge cases
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.