Permalink
Commits on Sep 18, 2017
  1. Move to new Kepler CSS

    hishamhm committed Sep 18, 2017
Commits on Jul 5, 2016
  1. Add .gitignore

    mpeterv committed Jul 5, 2016
  2. Format status code as integer when building status line

    mpeterv committed Jul 5, 2016
    Fixes '.0' appended to status code on Lua 5.3.
Commits on Mar 1, 2016
  1. Reformat the readme

    ignacio committed Mar 1, 2016
  2. Convert readme to markdown

    ignacio committed Mar 1, 2016
Commits on Feb 16, 2016
  1. luaL_optlong was deprecated and removed in Lua 5.3

    ignacio committed Feb 16, 2016
    Addresses the issue #39
Commits on Dec 5, 2015
  1. Merge pull request #38 from mpeterv/lua53

    hishamhm committed Dec 5, 2015
    Lua 5.3 compatibility
Commits on Dec 3, 2015
  1. Lua 5.3 compatibility

    mpeterv committed Dec 3, 2015
Commits on Mar 21, 2014
  1. Merge pull request #31 from ignacio/patch-2

    hishamhm committed Mar 21, 2014
    Allows to specify a domain when deleting a cookie.
  2. Merge pull request #33 from ignacio/pr_161

    hishamhm committed Mar 21, 2014
    Prepares 1.6.1 release
Commits on Mar 20, 2014
  1. Prepares 1.6.1 release

    ignacio committed Mar 20, 2014
    Prepares the 1.6.1 release by updating the documentation
    and adding new rockspecs. It also fixes a bug in ringer.lua
    related to coxpcall usage.
Commits on Jan 29, 2014
  1. Merge pull request #20 from ignacio/patch-1

    hishamhm committed Jan 29, 2014
    Use specified Content-Length if provided
Commits on Jan 28, 2014
  1. Allows to specify a domain when deleting a cookie.

    ignacio committed Jan 28, 2014
    When a cookie has been set with a given domain (i.e. domain="example.com"), subsequent attempts to delete it will be ignored by the browser if the same domain is not provided.
    
    So a 'domain' parameter is added to the 'delete_cookie' method in order to be able to delete those cookies.
Commits on Dec 7, 2013
  1. Merge pull request #21 from ignacio/patch-2

    mascarenhas committed Dec 7, 2013
    Use tables to deal with huge responses.
  2. Merge pull request #30 from kognix/master

    hishamhm committed Dec 7, 2013
    Wsapi 1.6 breaks Orbit and potentially other Lua 5.1 apps...
Commits on Dec 6, 2013
  1. Fix backward compatibility with Lua 5.1 - coxpcall required...

    kognix committed Dec 6, 2013
    Resolves "attempt to yield across metamethod/C-call boundary" errors when running Wsapi apps such as Orbit on Lua < 5.2
  2. Fix incorrect use of coxpcall

    kognix committed Dec 6, 2013
    require "coxpcall" returns a table
Commits on Sep 25, 2013
  1. Use tables to deal with huge responses.

    ignacio committed Sep 25, 2013
    Instead of accumulating the response in a string, use a table. This reduces the chances of "out of memory" errors when testing endpoints that produces huge amounts of data.
    
    It also changes the call to `common.send_content` to match the way it is used in wsapi itself.
  2. Use specified Content-Length if provided

    ignacio committed Sep 25, 2013
    This change allows to test how endpoints deal with invalid POST (advertising more or less bytes than actually sent, etc).
Commits on Sep 24, 2013
  1. Merge pull request #19 from ignacio/patch-2

    mascarenhas committed Sep 24, 2013
    Set querystring also for POST requests
  2. Merge pull request #18 from ignacio/patch-1

    mascarenhas committed Sep 24, 2013
    Fix wsapi.request.qs_encode
  3. Set querystring also for POST requests

    ignacio committed Sep 24, 2013
    If the path includes a query string, store it in req.QUERY_STRING. This is properly done for GET requests, but not for POSTs.
  4. Fix wsapi.request.qs_encode

    ignacio committed Sep 24, 2013
    In PR #13, I accidentally left out the required change needed for it to work properly.
  5. Merge pull request #14 from ignacio/issue_14

    mascarenhas committed Sep 24, 2013
    Mock requests return wrong data when reading
  6. Merge pull request #13 from ignacio/issue_13

    mascarenhas committed Sep 24, 2013
    wsapi.request.qs_encode yields invalid querystrings
  7. Merge pull request #12 from user-none/cookies

    mascarenhas committed Sep 24, 2013
    Add additional options for cookies such as httponly and max age.
  8. Merge pull request #17 from user-none/install

    mascarenhas committed Sep 24, 2013
    Install wsapi.lua as part of install target.
  9. Merge pull request #16 from user-none/fastcgi_environ

    mascarenhas committed Sep 24, 2013
    FastCGI fixes
Commits on Sep 15, 2013
Commits on Sep 11, 2013
  1. Fix allocation so there is enough space to put a NULL at the end of t…

    John Schember committed Sep 11, 2013
    …he copied env list.
  2. Copy initial environ so we can check it for values after starting but…

    John Schember committed Sep 11, 2013
    … without swapping the current and old eniron.
  3. Fix error: 'invalid use of '%' in replacement string'

    John Schember committed Sep 11, 2013
Commits on Apr 19, 2013
  1. Don't prepend '?' to wsapi.request.qs_encode output

    ignacio committed Apr 19, 2013
    This change makes qs_encode produce proper querystrings according to RFC
    3875 but we need to take that into account when appending that to a url
    (that is, we need to append "?" before the querystring ourselves).