luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

content length header should only be sent once if specified in the list of headers. #93

Closed DBarney closed 9 years ago

DBarney commented 9 years ago

not (contentLength and chunked) is true when contentLength has a value.

not (true and false) == true.

it causes the content-length headers to be sent across twice, which is an issue with some services.