in reply to Injecting a value into HTTP::Header
Hi, "not managing to get the injection to work" doesn't really describe the problem well. What is the output? I assume there's an error with push_header() since that does not appear as a documented method on an HTTP::Response object. Try https://metacpan.org/pod/HTTP::Response#$r-%3Eheader(-$field-=%3E-$value-).
Hope this helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Injecting a value into HTTP::Header
by Bod (Parson) on Apr 19, 2021 at 16:31 UTC | |
by choroba (Cardinal) on Apr 19, 2021 at 17:07 UTC | |
by Bod (Parson) on Apr 19, 2021 at 20:43 UTC | |
by soonix (Chancellor) on Apr 20, 2021 at 07:08 UTC | |
by Bod (Parson) on Apr 20, 2021 at 16:04 UTC | |
|
Re^2: Injecting a value into HTTP::Header
by Bod (Parson) on Apr 19, 2021 at 12:51 UTC | |
by 1nickt (Canon) on Apr 19, 2021 at 13:10 UTC |