projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7016a
)
Push full metadata to the file callback (parsed and unparsed) - not only the unparsed...
author
Steven Barth
<steven@midlink.org>
Fri, 19 Sep 2008 12:20:43 +0000
(12:20 +0000)
committer
Steven Barth
<steven@midlink.org>
Fri, 19 Sep 2008 12:20:43 +0000
(12:20 +0000)
libs/http/luasrc/http/protocol.lua
patch
|
blob
|
history
diff --git
a/libs/http/luasrc/http/protocol.lua
b/libs/http/luasrc/http/protocol.lua
index 93c9e79991cac02fae8ed56202868c76b3caf42c..6873d2486edd065f5bcaf7e8dac275569f374940 100644
(file)
--- a/
libs/http/luasrc/http/protocol.lua
+++ b/
libs/http/luasrc/http/protocol.lua
@@
-421,7
+421,7
@@
function mimedecode_message_body( src, msg, filecb )
end
if store then
- store( field
.headers
, predata, true )
+ store( field, predata, true )
end
@@
-439,7
+439,7
@@
function mimedecode_message_body( src, msg, filecb )
data = data:sub( 1, #data - 78 )
if store then
- store( field
.headers
, data, false )
+ store( field, data, false )
else
return nil, "Invalid MIME section header"
end
@@
-451,7
+451,7
@@
function mimedecode_message_body( src, msg, filecb )
lchunk, eof = parse_headers( data, field )
inhdr = not eof
else
- store( field
.headers
, lchunk, false )
+ store( field, lchunk, false )
lchunk, chunk = chunk, nil
end
end