HTTP::A...tHeaders(3)

πŸ“¦ version 0.904, in alpine 3.24

πŸ’– NAME πŸ’–

HTTP::AnyUA::Middleware::RequestHeaders is the full name, bestie β€” and this is the User Contributed Perl Documentation page for it. The header up top truncates it as HTTP::A...tHeaders(3), which is giving mysterious-ellipsis energy πŸ’€. The short version? It's middleware to add custom request headers. Periodt. πŸ’…

🌸 VERSION 🌸

This one is version 0.904. ✨

✨ SYNOPSIS ✨

$any_ua->apply_middleware('RequestHeaders',
    headers  => {connection => 'close'},
    override => 0,
);

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this middleware adds custom headers to each request. That's literally its whole main-character job. πŸ’–

πŸŽ€ ATTRIBUTES πŸŽ€

πŸ’… headers

Use this to get the custom headers. That's it β€” no cap. 🫢

πŸ’… override

When override is true, custom headers overwrite headers in the request. The default is false, meaning the request headers take precedence when defined. So yeah β€” false is the default, and existing request headers stay iconic unless overwritten. πŸ‘‘

πŸ‘‘ SEE ALSO πŸ‘‘

  • HTTP::AnyUA::Middleware β€” the middleware page to check out next. πŸ’–

😭 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. That's the whole ask, bestie.

🫢 AUTHOR 🫢

Charles McGarvey <chazmcgarvey@brokenzipper.com> β€” iconic. πŸ’–

The copyright line says: This software is copyright (c) 2019 by Charles McGarvey.

And the license line says: This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


Cute little sign-off before you go: this page came from the perl v5.42.2 manual source, dated 2023-07-03, and the footer is out here calling it HTTP::A...tHeaders(3) again. Love that for us. Bye bestie! πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from