well either this or the one on line 115 is wrong. I just checked it with my lighttpd server and it return the desired result when removing this bracket.