johnwcowan / r7rs-work

96 stars 12 forks source link

UrisCowan data scheme parsing parameters #36

Closed arvyy closed 1 year ago

arvyy commented 1 year ago

Currently, uri-parse-data returns two values: media type and decoded data. However, media type itself can have multiple parameters encoded within. Maybe it'd be sensible to return 3 values, and add parsed parameters as an alist to the returned value set? Parameter parsing needs to be done either way to pull out charset parameter in case of textual content.

johnwcowan commented 1 year ago

+1