Subject: | SendTE is always "1" |
in LWP/Protocol/http.pm, function _new_socket,
$sock is always created with "SendTE => 1",
This works with most of well-known web servers,
but some http server do not supports "TE" parameter.
So, this is breaking some of my usecases here.
I suggest to
add a argument $sock_opt to "request" function,
$sock_opt = {
SendTE => 1 or 0,
OtherOpts => ...,
};
and then pass $sock_opt to _new_sock.
Do you think it is a good idea ?
regards,