diff options
| author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-12-23 22:32:12 +0000 |
|---|---|---|
| committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-12-23 22:32:12 +0000 |
| commit | 2f970d782ea97a73787f76bd100bb06615456904 (patch) | |
| tree | 949257dd1ec89db41757fe1f0209c8f8a7e2bbe8 /src/http.lua | |
| parent | ae2d2859e7882d553276896d499064a2407c3853 (diff) | |
| download | luasocket-2f970d782ea97a73787f76bd100bb06615456904.tar.gz luasocket-2f970d782ea97a73787f76bd100bb06615456904.tar.bz2 luasocket-2f970d782ea97a73787f76bd100bb06615456904.zip | |
Changes due to new compat-5.1
Diffstat (limited to 'src/http.lua')
| -rw-r--r-- | src/http.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http.lua b/src/http.lua index 87a9d9a..cdaac33 100644 --- a/src/http.lua +++ b/src/http.lua | |||
| @@ -15,7 +15,7 @@ local mime = require("mime") | |||
| 15 | local string = require("string") | 15 | local string = require("string") |
| 16 | local base = require("base") | 16 | local base = require("base") |
| 17 | local table = require("table") | 17 | local table = require("table") |
| 18 | local http = module("socket.http") | 18 | module("socket.http") |
| 19 | 19 | ||
| 20 | ----------------------------------------------------------------------------- | 20 | ----------------------------------------------------------------------------- |
| 21 | -- Program constants | 21 | -- Program constants |
| @@ -259,4 +259,4 @@ request = socket.protect(function(reqt, body) | |||
| 259 | else return trequest(reqt) end | 259 | else return trequest(reqt) end |
| 260 | end) | 260 | end) |
| 261 | 261 | ||
| 262 | base.setmetatable(http, nil) | 262 | base.getmetatable(_M).__index = nil |
