moonbridge

changeset 166:41a44ae5c293

Work on new HTTP module implementation
author jbe
date Sat Jun 13 20:34:50 2015 +0200 (2015-06-13)
parents 00f01d945e13
children 625ab06babe9
files moonbridge_http.lua
line diff
     1.1 --- a/moonbridge_http.lua	Sat Jun 13 18:02:57 2015 +0200
     1.2 +++ b/moonbridge_http.lua	Sat Jun 13 20:34:50 2015 +0200
     1.3 @@ -186,8 +186,11 @@
     1.4      end
     1.5      -- handle requests in a loop:
     1.6      repeat
     1.7 +      -- table for caching nil values:
     1.8 +      local headers_value_nil = {}
     1.9        -- create a new request object:
    1.10 -      local request = {
    1.11 +      local request  -- allow references to local variable
    1.12 +      request = {
    1.13          -- allow access to underlying socket:
    1.14          socket = socket,
    1.15          -- cookies are simply stored in a table:

Impressum / About Us