# HG changeset patch # User jbe # Date 1434220490 -7200 # Node ID 41a44ae5c293a88cd64489ca4986a9a6eeda626e # Parent 00f01d945e13c38adcd31cac496d1bf7398b7080 Work on new HTTP module implementation diff -r 00f01d945e13 -r 41a44ae5c293 moonbridge_http.lua --- a/moonbridge_http.lua Sat Jun 13 18:02:57 2015 +0200 +++ b/moonbridge_http.lua Sat Jun 13 20:34:50 2015 +0200 @@ -186,8 +186,11 @@ end -- handle requests in a loop: repeat + -- table for caching nil values: + local headers_value_nil = {} -- create a new request object: - local request = { + local request -- allow references to local variable + request = { -- allow access to underlying socket: socket = socket, -- cookies are simply stored in a table: