Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 43 lines (35 sloc) 0.803 kb
9b69250 Vladimir Sedach Finally put this under source control
authored
1 (in-package #:cl)
2
3 (defpackage #:uri-template
4 (:use #:cl #:cl-ppcre #:named-readtables)
5 (:export
6 ;; common
7 #:uri-template
8
9 ;; interpolation
10 #:enable-uri-template-syntax
11 #:read-uri-template
12 #:uri-encode?
5e9ac24 Vladimir Sedach Added documentation, changed license to LLGPLv3, exported uri-encode and...
authored
13 #:uri-encode
9b69250 Vladimir Sedach Finally put this under source control
authored
14
15 ;; destructuring
16 #:uri-template-bind
17 #:uri-decode?
5e9ac24 Vladimir Sedach Added documentation, changed license to LLGPLv3, exported uri-encode and...
authored
18 #:uri-decode
9b69250 Vladimir Sedach Finally put this under source control
authored
19
20 ;; RFC 2396 standard URI components
21 #:%uri-scheme
22 #:%uri-authority
23 #:%uri-path
24 #:%uri-query
25 #:%uri-fragment
26
27 ;; extended components
28 #:%uri-head
29 #:%uri-tail
30 #:%uri-user
31 #:%uri-host
32 #:%uri-port
33 #:%uri-directory
34 #:%uri-file))
35
36 (in-package #:uri-template)
37
38 (defreadtable uri-template
39 (:merge :standard)
3a4235e Vladimir Sedach Made uri encoding/decoding functions work with unicode
authored
40 (:dispatch-macro-char #\# #\U
41 (lambda (&rest args)
42 (apply #'uri-template-reader args))))
Something went wrong with that request. Please try again.