HTTP::AnyUA::Middleware::ContentLength − Middleware to add Content−Length header automatically
version 0.904
$any_ua−>apply_middleware('ContentLength');
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.
• |
HTTP::AnyUA::Middleware |
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.
Charles McGarvey <[email protected]>
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.