33   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  
44< html  xmlns ="http://www.w3.org/1999/xhtml " xml:lang ="en " lang ="en "> 
55< head > 
6- 	 < title > WSAPI</ title > 
6+          < title > WSAPI</ title > 
77    < 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 "/> 
99</ head > 
1010
1111< body > 
1414
1515< div  id ="product "> 
1616
17- 	 < div  id ="product_logo "> 
17+          < div  id ="product_logo "> 
1818        < a  href ="http://wsapi.luaforge.net "> 
19- 		 < img  alt ="WSAPI " src ="wsapi.png "/> 
20- 	     </ a > 
19+                  < img  alt ="WSAPI " src ="wsapi.png "/> 
20+              </ a > 
2121    </ 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 > 
2424</ div >  <!-- id="product" --> 
2525
2626< div  id ="main "> 
27- 	 
27+ 
2828< div  id ="navigation "> 
2929< h1 > WSAPI</ h1 > 
30- 	 < ul > 
30+          < ul > 
3131
32- 		 < li > < strong > Home</ strong > </ li > 
32+                  < li > < strong > Home</ strong > </ li > 
3333
34- 		 < li > < a  href ="manual.html "> Manual</ a > </ li > 
34+                  < li > < a  href ="manual.html "> Manual</ a > </ li > 
3535
36- 		 < li > < a  href ="libraries.html "> Libraries</ a > </ li > 
36+                  < li > < a  href ="libraries.html "> Libraries</ a > </ li > 
3737
38- 		 < li > < a  href ="license.html "> License</ a > </ li > 
38+                  < li > < a  href ="license.html "> License</ a > </ li > 
3939
40- 	 </ ul > 
40+          </ ul > 
4141</ div >  <!-- id="navigation" --> 
4242
4343< div  id ="content "> 
@@ -62,7 +62,7 @@ <h2>Overview</h2>
6262
6363< h2 > Status</ h2 > 
6464
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 > 
6666
6767< h2 > Download</ h2 > 
6868
@@ -76,61 +76,77 @@ <h2>Download</h2>
7676
7777< h3 > Unix Installer Script</ h3 > 
7878
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
8181the < a  href ="manual.html "> manual</ a >  for installation instructions.</ p > 
8282
8383< h3 > Customizing the installer</ h3 > 
8484
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 > 
8787
8888
8989< 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 
9898LUAROCKS_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 
101101</ pre > 
102102
103103
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 > 
111111
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 > 
115115
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 > 
117117
118118
119119< pre  class  = "example "> 
120- bash ./your-install-script --prefix=/tmp/anything --bootstrap  
120+ bash ./your-install-script --prefix=/tmp/anything --bootstrap
121121</ pre > 
122122
123123
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 > 
127127
128128< h2 > Latest Sources and Bug Tracker</ h2 > 
129129
130130< p > WSAPI sources and bug tracker are available at its < a  href ="http://github.com/keplerproject/wsapi/ "> Github</ a >  page.</ p > 
131131
132132< h2 > History</ h2 > 
133133
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+ 
134150< p > < strong > WSAPI 1.5</ strong >  [21/Apr/2011]</ p > 
135151
136152< ul > 
@@ -198,7 +214,7 @@ <h2>History</h2>
198214    < li > Added an < code > extra_vars</ code >  paremeter to wsapi.xavante.makeHandler and wsapi.xavante.makeGenericHandler, to
199215    let you pass extra variables in the WSAPI environment</ li > 
200216    < 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 > 
202218    < li > Added a parameter < code > isolated</ code >  to the persistent generic loaders that controls whether you isolate
203219    each script in a Lua state or not</ li > 
204220    < 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>
216232    < li > Adds "wsapi" laucher script, to start a Xavante WSAPI server</ li > 
217233    < li > Fixed "undefined media type" error</ li > 
218234    < 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 > 
220236    < li > Changing order of evaluating PATH_TRANSLATED and SCRIPT_FILENAME, to make non-wrapped launchers work in OSX Apache</ li > 
221237    < li > Reload support for load_isolated_launcher</ li > 
222238</ ul > 
@@ -250,8 +266,8 @@ <h2>Contact Us</h2>
250266< p > For more information please 
< a  href ="
mailto:[email protected]  "
> contact us
</ a > .
251267Comments are welcome!</ p > 
252268
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 > 
255271
256272
257273
@@ -261,7 +277,7 @@ <h2>Contact Us</h2>
261277</ div >  <!-- id="main" --> 
262278
263279< 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 > 
265281</ div >  <!-- id="about" --> 
266282
267283</ div >  <!-- id="container" --> 
0 commit comments