Show
Ignore:
Timestamp:
11/26/10 17:39:09 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1290793149 +0000
git-parent:

[a03ab647d8bab40fd5c272d7981b58069f3fc781]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1290793149 +0000
Message:

fixes #329

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules-lua/noit/HttpClient.lua

    r220f29f r3496f96  
    9393        if str == nil or str == "\r\n" or str == "\n" then break end 
    9494        str = string.gsub(str, '%s+$', '') 
    95         local hdr, val = string.match(str, "^([-_%a%d]+):%s+(.+)$") 
     95        local hdr, val = string.match(str, "^([-_%a%d]+):%s*(.*)$") 
    9696        if hdr == nil then 
    9797            if lasthdr == nil then error ("malformed header line") end