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/13 17:12:01 UTC
[tcl-rivet] branch 3.1 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 3.1
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git
The following commit(s) were added to refs/heads/3.1 by this push:
new c549886 correct wrong header in ::rivet::accept_http code example
c549886 is described below
commit c549886ff547846e50b7d4993d235dfee778fbac
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 12be102..42ca2d8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2019-04-13 Massimo Manghi <mx...@apache.org>
+ * doc/xml/commands.xml: Correct wrong header in ::rivet::http_accept code example
+
2019-04-12 Massimo Manghi <mx...@apache.org>
* INSTALL: wrong references corrected
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