Releases: EvandroLG/pegasus.lua
Pegasus.lua v0.9.7
Pegasus.lua is an http server to work with web applications written in Lua language.
What's new from Pegasus.lua v0.9.6?
- Adds logic to accept duplicate keys from header and querystring.
- Fixes denial-of-service (DoS) security issue
Thanks @Tieske!
Pegasus.lua v0.9.6
Pegasus.lua is an http server to work with web applications written in Lua language.
What's new from Pegasus.lua v0.9.5?
- More descriptive error message
Pegasus.lua v0.9.5
Pegasus.lua is an http server to work with web applications written in Lua language.
What's new from Pegasus.lua v0.9.4?
- Moved logic to retrieve querystring to
Request:querystring
- Moved logic to retrieve post parameters to
Request.post()
- General performance improvements
- Refactoring the project code
Pegasus.lua v0.9.4
Pegasus.lua is a http server to work with web applications written in Lua language.
What's new from Pegasus.lua v0.9.3?
- Added support to chunked response in Compresion plugin
- Added support to lua-zlib library
- Pegasus.lua now can be initialized with two new parameters:
host
andtimeout
, like the example below:
server = Pegasus:new{ host = '127.0.0.1', timeout = 5}
Special thanks to @moteus :)
Pegasus.lua v0.9.3
Pegasus.lua is a http server to work with web applications written in Lua language.
What's new from Pegasus.lua v0.9.2?
- Fix problem to set date header in windows systems
- Don't raise error when pick up empty content
Special thanks to @moteus :)
Pegasus.lua v0.9.2
Pegasus.lua is a http server to work with web applications written in Lua language.
What's new from Pegasus.lua v0.9.1?
- Added
ip
property in request module. It returns the client's ip - Added
port
property in request module. It returns the port where Pegasus is running - Fixed some bugs in request module
Pegasus.lua v0.9.1
Pegasus.lua is a http server to work with web applications written in Lua language.
What's new from Pegasus.lua v0.9?
- Added native plugin to compress responses using the "gzip" method
local Pegasus = require 'pegasus'
local Compress = require 'pegasus.compress'
local server = Pegasus:new({
plugins = { Compress:new() }
})
server:start()
- Created plugin structure on Pegasus.lua's core
Pegasus.lua v0.9
Pegasus.lua is a http server to work with web applications written in Lua language.
What's new from Pegasus.lua v0.8?
- Added native support for HTTP Streaming, aka chunked responses. Check how it works
- Fixed bug to serve images
v0.0.8
What's new from Pegasus.lua v0.0.7?
- Added new method on Response object:
addHeader(string:key, string:value)
: It adds a new headeraddHeaders(table:headers)
: It adds news headersstatusCode(number:statusCode, string:statusMessage)
: It adds a Status CodecontentType(string:value)
: It adds a value to Content-Type fieldwrite(string:body)
: It creates the body with the value passed as
parameterwriteFile(string:file)
: It creates the body with the content of the
file passed as parameter
- Removed
response:writeHead
andresponse:finish
methods - Fixed bug on
request:querystring
- Made a big refactoring in all the project code
v0.0.1
Project launch with basic API to handle HTTP requests and responses.