A simple HTTP multipart encoder/decoder for Lua
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.rockspec
README.md

README.md

lua-multipart-parser

A Lua library to parse multipart/form-data data.

Usage

local multipart = require "multipart"
local multipart_data = multipart()
local data = multipart_data:get()

And that's how our data will looks like after being parsed if we do the following request:

{
  param1 = "data1",
  param2 = "data2",
  param3 = "data3"
}

Contribute

  • Fork it the repository
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create a new Pull Request