hi
So wie ich die RFC lese, lässt sich das mit einem klaren "Lass das" beantworten:
A payload within a GET request message has no defined semantics; sending a payload body on a GET request might cause some existing implementations to reject the request.
GET-Body: to boldly go where no man has gone before... 😂
Na dann prüf mal Deine Webserver ob sie entsprechend konfiguriert sind 😉
Ansonsten gilt:
The presence of a message-body in a request is signaled by the inclusion of a Content-Length or Transfer-Encoding header field in the request's message-headers.
RFC2616. Von CGI.pm jahrzehntelang ignoriert 😉
PS:
my $r = HTTPsRequest->common(
host => "forum.selfhtml.org",
uri => "/self",
method => "GET",
content => "asdf"
) or die $@;
print Dumper $r->response_header(); # 200 OK