1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00
guile/doc/ref
Andy Wingo 7095a536f3 web: add support for URI-reference
Based on a patch by Daniel Hartwig <mandyke@gmail.com>.

* NEWS: Update.
* doc/ref/web.texi (URIs): Fragments are properly part of a URI, so
  remove the incorrect note.  Add documentation on URI subtypes.
* module/web/uri.scm (uri-reference?): New base type predicate.
  (uri?, relative-ref?): Specific predicates.
  (validate-uri-reference): Strict validation.
  (validate-uri, validate-relative-ref): Specific validators.
  (build-uri-reference, build-relative-ref): New constructors.
  (string->uri-reference): Rename from string->uri.
  (string->uri, string->relative-ref): Specific constructors.
  (uri->string): Add #:include-fragment? keyword argument.
* module/web/http.scm (parse-request-uri): Use `build-uri-reference',
  and result is a URI-reference, not URI, object.  No longer infer an
  absent `uri-scheme' is `http'.
  (write-uri): Just use `uri->string'.
  (declare-uri-header!): Remove unused function.
  (declare-uri-reference-header!): Update.  Rename from
  `declare-relative-uri-header!'.
* test-suite/tests/web-uri.test ("build-uri-reference"):
  ("string->uri-reference"): Add.
  ("uri->string"): Also tests for relative-refs.
* test-suite/tests/web-http.test ("read-request-line"):
  ("write-request-line"): Update for no scheme in some URIs.
  ("entity headers", "request headers"): Content-location, Referer, and
  Location should also parse relative-URIs.
* test-suite/tests/web-request.test ("example-1"): Expect URI-reference
  with no scheme.
2017-05-21 13:42:29 +02:00
..
.gitignore
api-binding.texi Fix typo about variable definitions 2016-08-08 00:06:32 +02:00
api-control.texi Fix documentation build 2017-03-07 21:34:01 +01:00
api-coverage.texi No more VM objects visible to Scheme 2013-11-21 16:45:03 +01:00
api-data.texi Documentation typo tweak 2017-04-19 17:15:56 +02:00
api-debug.texi Frame <binding> objects capture frame, can ref value directly 2016-01-31 11:15:58 +01:00
api-deprecated.texi
api-evaluation.texi Add sandboxed evaluation facility 2017-04-18 21:27:45 +02:00
api-foreign-objects.texi Remove SMOB tutorial; update manual. 2014-04-28 17:45:07 +02:00
api-foreign.texi Can't recursively search DLLs with FFI on Cygwin 2017-03-05 12:45:54 -08:00
api-i18n.texi i18n: 'number->locale-string' guesses the minimum number of decimals. 2017-03-01 21:16:49 +01:00
api-init.texi
api-io.texi Fix small typo in suspendable-ports documentation. 2016-12-06 13:40:13 -06:00
api-lalr.texi
api-languages.texi Fix makeinfo warnings 2017-03-01 21:49:47 +01:00
api-macros.texi Add allow-legacy-syntax-objects? parameter 2017-03-28 21:27:11 +02:00
api-memory.texi Clarify use of the term "scanning" in the manual 2016-06-24 08:56:21 +02:00
api-modules.texi Fix typo in manual. 2016-05-22 19:29:17 +02:00
api-options.texi Add popen feature 2016-07-25 11:43:54 +02:00
api-overview.texi
api-peg.texi PEG Renames 2013-01-16 10:11:50 +01:00
api-procedures.texi api-procedures.texi: typo: 'an' -> 'on' 2017-04-19 17:16:21 +02:00
api-regex.texi Add reference to the lack of "non-greedy" variants 2016-06-19 17:39:41 +02:00
api-scheduling.texi Add thread local fluids 2017-03-07 21:15:39 +01:00
api-scm.texi
api-smobs.texi Remove SMOB tutorial; update manual. 2014-04-28 17:45:07 +02:00
api-snarf.texi
api-undocumented.texi excise use of "iff" in the manual 2013-03-10 22:29:18 +01:00
api-utility.texi Remove useless subsection from hooks documentation 2017-03-01 21:45:14 +01:00
api.txt
ChangeLog-2008
ChangeLog-goops-2008
ChangeLog-guile-doc-ref
compiler.texi docs: Fix external representation of <toplevel-define> in tree-il. 2016-05-22 19:49:15 +02:00
curried.texi
data-rep.texi doc: Update libgc URL. 2016-05-22 19:29:17 +02:00
effective-version.texi.in
expect.texi
fdl.texi
gds.dia
gds.eps
gds.pdf
gds.txt
goops-tutorial.texi
goops.texi GOOPS doc fix: #:dsupers is the init keyword for the dsupers slot. 2013-12-01 18:41:31 -05:00
guile-invoke.texi doc: Describe -e (module) on equal footing with (@ ...). 2017-03-01 21:17:44 +01:00
guile.texi Merge api-{data,compound}.texi 2016-11-22 23:11:37 +01:00
hierarchy.dot doc/ref/hierarchy.png: conform to hierarchy.txt and manual 2013-01-15 19:17:55 +01:00
hierarchy.eps doc/ref/hierarchy.png: conform to hierarchy.txt and manual 2013-01-15 19:17:55 +01:00
hierarchy.pdf doc/ref/hierarchy.png: conform to hierarchy.txt and manual 2013-01-15 19:17:55 +01:00
hierarchy.png doc/ref/hierarchy.png: conform to hierarchy.txt and manual 2013-01-15 19:17:55 +01:00
hierarchy.txt
history.texi Update history.texi 2013-11-30 18:46:10 +01:00
indices.texi
intro.texi excise use of "iff" in the manual 2013-03-10 22:29:18 +01:00
libguile-autoconf.texi
libguile-concepts.texi Deprecate user asyncs 2016-10-17 21:58:08 +02:00
libguile-extensions.texi
libguile-foreign-objects.texi Deprecate user asyncs 2016-10-17 21:58:08 +02:00
libguile-linking.texi doc: embedding example more readable. 2014-01-17 22:22:02 +01:00
libguile-parallel.texi Merge commit '5fac1a7ada' 2015-01-22 13:30:25 +01:00
libguile-program.texi Remove SMOB tutorial; update manual. 2014-04-28 17:45:07 +02:00
libguile-snarf.texi Prefer foreign objects over smobs in manual 2014-04-28 18:00:05 +02:00
Makefile.am Merge api-{data,compound}.texi 2016-11-22 23:11:37 +01:00
match.texi
misc-modules.texi Document pretty-print #:max-expr-width 2016-06-21 16:45:37 +02:00
mod-getopt-long.texi Add documentation pointer from getopt-long to SRFI-37. 2016-06-25 10:06:15 +02:00
mop.text
new-docstrings.texi
posix.texi Check for working profiling and virtual itimers 2017-03-06 23:06:12 -08:00
preface.texi
r6rs.texi Implement R6RS custom binary input/output ports 2016-08-04 22:29:51 +02:00
repl-modules.texi readline: Avoid interpreting control characters in pastes. 2017-05-17 22:29:08 +02:00
scheme-ideas.texi Fix a couple of typos in the docs 2017-03-09 21:56:03 +01:00
scheme-indices.texi
scheme-intro.texi Fix a couple of typos in the docs 2017-03-09 21:56:03 +01:00
scheme-reading.texi
scheme-scripts.texi Fix scheme-scripts markup. 2017-03-01 21:44:53 +01:00
scheme-using.texi doc: Fix typo in site packages documentation. 2017-03-01 21:04:21 +01:00
scheme.dia
scheme.eps
scheme.pdf
scheme.txt
scsh.texi
slib.texi
srfi-modules.texi Correct note about Gregorian reform in SRFI-19 2017-04-25 09:41:03 +02:00
statprof.texi Check for working profiling and virtual itimers 2017-03-06 23:06:12 -08:00
sxml-match.texi Fix typo about pattern variables 2016-08-07 11:57:35 +02:00
sxml.texi Fix typo in fold-layout documentation 2017-04-19 15:56:47 +02:00
texinfo.texi Fix typo in `transform-string' doc. 2014-06-04 20:59:36 -04:00
tools.texi Prefer foreign objects over smobs in manual 2014-04-28 18:00:05 +02:00
tour.texi
vm.texi VM support for string-set!; slimmer read-string 2017-03-09 17:24:06 +01:00
web.texi web: add support for URI-reference 2017-05-21 13:42:29 +02:00