Expand description
URI handling utilities
This module provides utilities for parsing, validating, and manipulating URIs used in the MCP protocol for resources and other operations.
Functionsยง
- get_
uri_ extension - Extract the file extension from a URI
- guess_
mime_ type - Guess MIME type from URI extension
- join_
uri - Join a base URI with a relative path
- normalize_
uri - Normalize a URI to a standard form
- parse_
query_ string - Parse a query string into parameters
- parse_
uri_ with_ params - Parse a URI and extract query parameters
- percent_
decode - Simple percent decoding for URI components
- percent_
encode - Simple percent encoding for URI components
- validate_
uri - Validate that a string is a valid URI