Description
TSHttpTxnErrorBodySet(...) will usually be called in the plugin to set the body of the client response when error exists, but sometimes the header "Transfer-Encoding" will be inserted into the client response(from handle_response_keep_alive_headers(...)), and we should delete this header to indicate that the body was not chunked.
=================================================
HTTP/1.1 500 INKApi Error
Date: Sun, 07 Sep 2014 10:03:31 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Server: ATS/5.2.0
Content-Length: 0
^C
HTTP/1.1 404 Not Found
Date: Sun, 07 Sep 2014 10:01:35 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Server: ATS/5.2.0
Content-Length: 12
Content-Type: text/html
^C