From f960b3872a668ed1b53bd50c5b6a708367332f3c Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Mon, 23 Apr 2012 00:18:45 +0800 Subject: Making progress toward a release Documented headers.lua Update copyright date everywhere Remove RCSID from files Move version back to 2.1 rather than 2.1.1 Fixed url package to support ipv6 hosts Changed "domain" to "family" in tcp and udp structures Implemented getfamily methods --- doc/socket.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'doc/socket.html') diff --git a/doc/socket.html b/doc/socket.html index 2267b4a..dcf8b61 100644 --- a/doc/socket.html +++ b/doc/socket.html @@ -112,6 +112,29 @@ t = socket.gettime() print(socket.gettime() - t .. " seconds elapsed") + + +

+socket.headers.canonic

+ +

The socket.headers.canonic table +is used by the HTTP and SMTP modules to translate from +lowercase field names back into their canonic +capitalization. When a lowercase field name exists as a key +in this table, the associated value is substituted in +whenever the field name is sent out. +

+ +

+You can obtain the headers namespace if case run-time +modifications are required by running: +

+ +
+-- loads the headers module 
+local headers = require("headers")
+
+

-- cgit v1.2.3-55-g6feb