9513: Do not set response Content-Length to -1 when returning 411 Length Required.
authorTom Clegg <tom@curoverse.com>
Wed, 29 Jun 2016 17:41:57 +0000 (13:41 -0400)
committerTom Clegg <tom@curoverse.com>
Wed, 29 Jun 2016 20:11:33 +0000 (16:11 -0400)
commit5559c86b1a6bba1d3a1dbdb633ac377f54ed14b0
tree854a739c99ba6da6e9870304857a8425f3361707
parent2a30f6a162a59ff5a75b9fcdef4913baeeae6a1e
9513: Do not set response Content-Length to -1 when returning 411 Length Required.

Add tests for requests with bad/missing Content-Length headers.
services/keepproxy/keepproxy.go
services/keepproxy/keepproxy_test.go