HTTP::A...tLength(3)
πΈ NAME πΈ
HTTP::AnyUA::Middleware::ContentLength β this is the User Contributed Perl Documentation page for the middleware that adds a Content-Length header automatically. bestie, itβs literally right there in the name. π
β¨
π VERSION π
version 0.904 β periodt. π
β¨ SYNOPSIS β¨
$any_ua->apply_middleware('ContentLength');
that one line is the whole synopsis, and it ate. no notes. π«Ά
π¦ DESCRIPTION π¦
okay so hereβs the vibe check: this middleware adds a Content-Length header to the request if the content is known β i.e., the content field of the request options is a string instead of a coderef β and if the header is not already set. lowkey iconic, highkey useful. π
π SEE ALSO π
HTTP::AnyUA::Middlewareβ the other middleware page you should absolutely go peek at, bestie. π«Ά
π BUGS π
Please report any bugs or feature requests on the bugtracker website https://github.com/chazmcgarvey/HTTP-AnyUA/issues.
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature. fr fr, thatβs the move. πβ¨
π AUTHOR π
Charles McGarvey <chazmcgarvey@brokenzipper.com> β yes, thatβs the author, and yes, the email is right there. π
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2019 by Charles McGarvey.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, licensing included. π
okay bestie, final sign-off: this came from the User Contributed Perl Documentation, version 0.904, dated 2023-07-03, with perl v5.42.2 down at the bottom. byeee, go add that Content-Length header. π
ππ
π¦ where this page comes from
- alpine 3.24: perl-http-anyua-doc 0.904-r1 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms