aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/protocols/data.rs
Commit message (Collapse)AuthorAgeFilesLines
* Create HttpStatus to safely deal with HTTP responses status. (#33581)webbeef2024-09-291-3/+2
| | | Signed-off-by: webbeef <me@webbeef.org>
* Let protocol handlers decide if they are fetchable (#33573)webbeef2024-09-281-0/+4
| | | | | | | This adds a 'is_fetchable()' method on the ProtocolHandler trait that is then used in the fetch code. The 'data:' protocol handler is updated to return true instead of hardcoding the scheme comparison, as well as the 'urlinfo:' handler since it's just a testing one. Signed-off-by: webbeef <me@webbeef.org>
* Simplify the data: protocol handler (#33500)webbeef2024-09-281-67/+27
| | | Signed-off-by: webbeef <me@webbeef.org>
* make protocol handlers registrable (#33104)webbeef2024-08-221-0/+97
Signed-off-by: webbeef <me@webbeef.org>