3
3
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
4
< html xmlns ="http://www.w3.org/1999/xhtml " xml:lang ="en " lang ="en ">
5
5
< head >
6
- < title > WSAPI</ title >
6
+ < title > WSAPI</ title >
7
7
< link rel ="stylesheet " href ="doc.css " type ="text/css "/>
8
- < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 "/>
8
+ < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 "/>
9
9
</ head >
10
10
11
11
< body >
14
14
15
15
< div id ="product ">
16
16
17
- < div id ="product_logo ">
17
+ < div id ="product_logo ">
18
18
< a href ="http://wsapi.luaforge.net ">
19
- < img alt ="WSAPI " src ="wsapi.png "/>
20
- </ a >
19
+ < img alt ="WSAPI " src ="wsapi.png "/>
20
+ </ a >
21
21
</ div >
22
- < div id ="product_name "> < big > < strong > WSAPI</ strong > </ big > </ div >
23
- < div id ="product_description "> Lua Web Server API</ div >
22
+ < div id ="product_name "> < big > < strong > WSAPI</ strong > </ big > </ div >
23
+ < div id ="product_description "> Lua Web Server API</ div >
24
24
</ div > <!-- id="product" -->
25
25
26
26
< div id ="main ">
27
-
27
+
28
28
< div id ="navigation ">
29
29
< h1 > WSAPI</ h1 >
30
- < ul >
30
+ < ul >
31
31
32
- < li > < strong > Home</ strong > </ li >
32
+ < li > < strong > Home</ strong > </ li >
33
33
34
- < li > < a href ="manual.html "> Manual</ a > </ li >
34
+ < li > < a href ="manual.html "> Manual</ a > </ li >
35
35
36
- < li > < a href ="libraries.html "> Libraries</ a > </ li >
36
+ < li > < a href ="libraries.html "> Libraries</ a > </ li >
37
37
38
- < li > < a href ="license.html "> License</ a > </ li >
38
+ < li > < a href ="license.html "> License</ a > </ li >
39
39
40
- </ ul >
40
+ </ ul >
41
41
</ div > <!-- id="navigation" -->
42
42
43
43
< div id ="content ">
@@ -62,7 +62,7 @@ <h2>Overview</h2>
62
62
63
63
< h2 > Status</ h2 >
64
64
65
- < p > Current version is 1.5. It was developed for Lua 5.1.</ p >
65
+ < p > Current version is 1.6.1. It supports both Lua 5.1 and Lua 5.2 .</ p >
66
66
67
67
< h2 > Download</ h2 >
68
68
@@ -76,61 +76,77 @@ <h2>Download</h2>
76
76
77
77
< h3 > Unix Installer Script</ h3 >
78
78
79
- < p > You can also get an installer script that installs Lua+LuaRocks+WSAPI
80
- < a href ="http://github.com/downloads/ keplerproject/wsapi /wsapi-install-1.5 .tar.gz "> here</ a > . See
79
+ < p > You can also get an installer script that installs Lua+LuaRocks+WSAPI
80
+ < a href ="http://www. keplerproject.org/files /wsapi-install-1.6.1 .tar.gz "> here</ a > . See
81
81
the < a href ="manual.html "> manual</ a > for installation instructions.</ p >
82
82
83
83
< h3 > Customizing the installer</ h3 >
84
84
85
- < p > There is a section of wsapi-install-1.5 with the parameters that
86
- control the installer: </ p >
85
+ < p > There is a section of wsapi-install-1.6 with the parameters that
86
+ control the installer:</ p >
87
87
88
88
89
89
< pre class ="example ">
90
- # Installer parameters
91
-
92
- LUA_VERSION=5.1.4
93
- PACKAGE=WSAPI
94
- PACKAGE_OPT=wsapi
95
- PACKAGE_ROCK=wsapi-xavante
96
- INSTALLER_VERSION=0.6
97
- PACKAGE_VERSION=1.5
90
+ # Installer parameters
91
+
92
+ LUA_VERSION=5.2.1
93
+ PACKAGE=WSAPI
94
+ PACKAGE_OPT=wsapi
95
+ PACKAGE_ROCK=wsapi-xavante
96
+ INSTALLER_VERSION=0.7
97
+ PACKAGE_VERSION=1.6
98
98
LUAROCKS_REPO=http://luarocks.org/repositories/rocks
99
- LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.4.1 .tar.gz
100
- LUAROCKS_VERSION=2.0.4.1
99
+ LUAROCKS_URL=http://www.luarocks.org/releases/luarocks-2.0.12 .tar.gz
100
+ LUAROCKS_VERSION=2.0.12
101
101
</ pre >
102
102
103
103
104
- < p > To install something else change PACKAGE to the full name of the
105
- package, PACKAGE_OPT to the name of the --with-foo option that lets
106
- the user override the version (or skip installation of the package),
107
- PACKAGE_ROCK to the name of the rock, and PACKAGE_VERSION to the
108
- version. Also change LUAROCKS_REPO if you want to use another
109
- repository (the installer uses --from, so will pull packages from
110
- other repositories if the one you specified does not have them). </ p >
104
+ < p > To install something else change PACKAGE to the full name of the
105
+ package, PACKAGE_OPT to the name of the --with-foo option that lets
106
+ the user override the version (or skip installation of the package),
107
+ PACKAGE_ROCK to the name of the rock, and PACKAGE_VERSION to the
108
+ version. Also change LUAROCKS_REPO if you want to use another
109
+ repository (the installer uses --from, so will pull packages from
110
+ other repositories if the one you specified does not have them).</ p >
111
111
112
- < p > If there is a LuaRocks update then change LUAROCKS_URL and
113
- LUAROCKS_VERSION. Changing Lua version is much more involved, so I
114
- won't go into that. </ p >
112
+ < p > If there is a LuaRocks update then change LUAROCKS_URL and
113
+ LUAROCKS_VERSION. Changing Lua version is much more involved, so I
114
+ won't go into that.</ p >
115
115
116
- < p > Now to make the tarball, put the installer script in an empty folder and run: </ p >
116
+ < p > Now to make the tarball, put the installer script in an empty folder and run:</ p >
117
117
118
118
119
119
< pre class = "example ">
120
- bash ./your-install-script --prefix=/tmp/anything --bootstrap
120
+ bash ./your-install-script --prefix=/tmp/anything --bootstrap
121
121
</ pre >
122
122
123
123
124
- < p > After it finishes you will have lua-5.1.4. tar.gz,
125
- luarocks-2.0.4.1. tar.gz, and a rocks folder with .src.rocks for all the
126
- rocks that the installer installs. </ p >
124
+ < p > After it finishes you will have lua-5.2.1. tar.gz,
125
+ luarocks-2.0.12. tar.gz, and a rocks folder with .src.rocks for all the
126
+ rocks that the installer installs.</ p >
127
127
128
128
< h2 > Latest Sources and Bug Tracker</ h2 >
129
129
130
130
< p > WSAPI sources and bug tracker are available at its < a href ="http://github.com/keplerproject/wsapi/ "> Github</ a > page.</ p >
131
131
132
132
< h2 > History</ h2 >
133
133
134
+ < p > < strong > WSAPI 1.6.1</ strong > [21/Mar/2014]</ p >
135
+
136
+ < ul >
137
+ < li > Restores Lua 5.1 compatibility (incorrect usage of coxpcall)</ li >
138
+ < li > Improvements to wsapi.mock</ li >
139
+ < li > wsapi.request.qs_encode produces proper querystrings</ li >
140
+ < li > FastCGI fixes</ li >
141
+ < li > Additional options for cookies such as httponly and max age.</ li >
142
+ </ ul >
143
+
144
+ < p > < strong > WSAPI 1.6</ strong > [30/Jan/2013]</ p >
145
+
146
+ < ul >
147
+ < li > Lua 5.2 compatibility</ li >
148
+ </ ul >
149
+
134
150
< p > < strong > WSAPI 1.5</ strong > [21/Apr/2011]</ p >
135
151
136
152
< ul >
@@ -198,7 +214,7 @@ <h2>History</h2>
198
214
< li > Added an < code > extra_vars</ code > paremeter to wsapi.xavante.makeHandler and wsapi.xavante.makeGenericHandler, to
199
215
let you pass extra variables in the WSAPI environment</ li >
200
216
< li > Added < code > overwrite</ code > option to wsapi.request that tells the parameter parser to overwrite repeated parameters
201
- instead of collecting them in a list </ li >
217
+ instead of collecting them in a list</ li >
202
218
< li > Added a parameter < code > isolated</ code > to the persistent generic loaders that controls whether you isolate
203
219
each script in a Lua state or not</ li >
204
220
< li > Added parameters to the persistent generic loaders that let the user control the life cycle of Lua
@@ -216,7 +232,7 @@ <h2>History</h2>
216
232
< li > Adds "wsapi" laucher script, to start a Xavante WSAPI server</ li >
217
233
< li > Fixed "undefined media type" error</ li >
218
234
< li > Added is_empty utility function to check if a string is nil or ''</ li >
219
- < li > Fixed bug with empty bodies in wsapi.xavante, and added full http status codes to responses </ li >
235
+ < li > Fixed bug with empty bodies in wsapi.xavante, and added full http status codes to responses</ li >
220
236
< li > Changing order of evaluating PATH_TRANSLATED and SCRIPT_FILENAME, to make non-wrapped launchers work in OSX Apache</ li >
221
237
< li > Reload support for load_isolated_launcher</ li >
222
238
</ ul >
@@ -250,8 +266,8 @@ <h2>Contact Us</h2>
250
266
< p > For more information please
< a href ="
mailto:[email protected] "
> contact us
</ a > .
251
267
Comments are welcome!</ p >
252
268
253
- < p > You can also reach us and other developers and users on the Kepler Project
254
- < a href ="http://luaforge.net/mail/?group_id=104 "> mailing list</ a > . </ p >
269
+ < p > You can also reach us and other developers and users on the Kepler Project
270
+ < a href ="http://luaforge.net/mail/?group_id=104 "> mailing list</ a > .</ p >
255
271
256
272
257
273
@@ -261,7 +277,7 @@ <h2>Contact Us</h2>
261
277
</ div > <!-- id="main" -->
262
278
263
279
< div id ="about ">
264
- < p > < a href ="http://validator.w3.org/check?uri=referer "> Valid XHTML 1.0!</ a > </ p >
280
+ < p > < a href ="http://validator.w3.org/check?uri=referer "> Valid XHTML 1.0!</ a > </ p >
265
281
</ div > <!-- id="about" -->
266
282
267
283
</ div > <!-- id="container" -->
0 commit comments