You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tcl.apache.org by mx...@apache.org on 2019/04/16 23:26:34 UTC

[tcl-rivet] branch quattuor updated: correct wrong header in ::rivet::accept_http code example

This is an automated email from the ASF dual-hosted git repository.

mxmanghi pushed a commit to branch quattuor
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git


The following commit(s) were added to refs/heads/quattuor by this push:
     new 4f151b0  correct wrong header in ::rivet::accept_http code example
4f151b0 is described below

commit 4f151b015e9e2751e944a99d22270ccc137a4479
Author: Massimo Manghi <mx...@apache.org>
AuthorDate: Sat Apr 13 19:11:46 2019 +0200

    correct wrong header in ::rivet::accept_http code example
---
 ChangeLog            | 3 +++
 doc/xml/commands.xml | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index c06ea31..182041d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,9 @@
     * src/mod_rivet_ng/: also the worker and lazy bridge transitioned to 
     the new interpreter model
 
+2019-04-13 Massimo Manghi <mx...@apache.org>
+    * doc/xml/commands.xml: Correct wrong header in ::rivet::http_accept code example
+
 2019-03-05 Massimo Manghi <mx...@apache.org>
     * src/rivet.h: Better semantics for macros RIVET_FOREACH_INTERPRETER and
     RIVET_FOREACH_VIRTUAL_HOST
diff --git a/doc/xml/commands.xml b/doc/xml/commands.xml
index be99749..a8fc1f0 100644
--- a/doc/xml/commands.xml
+++ b/doc/xml/commands.xml
@@ -879,7 +879,7 @@ fr-fr -> 0.2</programlisting>
                 the precedence values and the accepted fields 
                 are returned listed with decreasing precedence order.
             </para>
-            <programlisting> puts [::rivet::http_accept -list $headers(Accept-Language)]
+            <programlisting> puts [::rivet::http_accept -list $headers(Accept)]
 text/html application/xhtml+xml application/xml */*
             </programlisting>
             <para>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tcl.apache.org
For additional commands, e-mail: commits-help@tcl.apache.org