Changeset 11991 in project


Ignore:
Timestamp:
09/25/08 01:40:53 (11 years ago)
Author:
Ivan Raikov
Message:

Updated for version 1.7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/uri-generic

    r11943 r11991  
    2222
    2323==== Constructors
     24
     25As specified in section 2.3 of RFC 3986, URI constructors
     26automatically decode percent-encoded octets in the range of unreserved
     27characters. This means that the following holds true:
     28
     29 (equal? (uri-reference "http://example.com/foo-bar")
     30         (uri-reference "http://example.com/foo%2Dbar"))  => #t
    2431
    2532<procedure>(uri-reference STRING) => URI</procedure>
     
    7683of the first URI with respect to the second URI.
    7784
     85==== String encoding and decoding
     86
     87<procedure>(uri-encode-string STRING) => STRING</procedure>
     88
     89Returns the percent-encoded form of the given string.
     90
     91<procedure>(uri-decode-string STRING) => STRING</procedure>
     92
     93Returns the decoded form of the given string.
     94
     95
    7896==== Normalization 
    7997
     
    93111=== Version History
    94112
     113* 1.7 Added uri-encode-string and uri-decode-string.
     114      URI constructors now perform automatic normalization
     115      of percent-encoded unreserved characters. [suggested by Peter Bex]
    95116* 1.6 Added error message about missing scheme in absolute-uri.
    96117* trunk Small bugfix in absolute-uri. [Peter Bex]
     
    103124=== License
    104125
    105 Based on the [[http://www.ninebynine.org/Software/ReadMe-URI-Haskell.txt|Haskell URI library]] by  Graham Klyne <gk@ninebynine.org>.
     126Based on the
     127[[http://www.ninebynine.org/Software/ReadMe-URI-Haskell.txt|Haskell
     128URI library]] by Graham Klyne <gk@ninebynine.org>.
    106129
    107 Copyright 2008 Ivan Raikov.
     130Copyright 2008 Ivan Raikov, Peter Bex.
    108131
    109132Redistribution and use in source and binary forms, with or without
Note: See TracChangeset for help on using the changeset viewer.