summaryrefslogtreecommitdiff
path: root/lib/Travel/Routing
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2024-09-21 19:14:58 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2024-09-21 19:14:58 +0200
commitf67c404380f89e3aadd44286758bcabb4de9f42f (patch)
treeaf56df52ff1b9d8e34dcdee4b05f3bd73bd239fc /lib/Travel/Routing
parent3a90f52e15f81a6e8caf4ea943e2e845db2bb5a4 (diff)
--devmode: print requestHEADmain
Diffstat (limited to 'lib/Travel/Routing')
-rw-r--r--lib/Travel/Routing/DE/EFA.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Travel/Routing/DE/EFA.pm b/lib/Travel/Routing/DE/EFA.pm
index 80bfb68..35c289b 100644
--- a/lib/Travel/Routing/DE/EFA.pm
+++ b/lib/Travel/Routing/DE/EFA.pm
@@ -508,6 +508,13 @@ sub submit {
$self->{ua} = LWP::UserAgent->new(%conf);
$self->{ua}->env_proxy;
+ if ( $self->{config}{developer_mode} ) {
+ say 'POST ' . $self->{config}{efa_url};
+ while ( my ( $key, $value ) = each %{ $self->{post} } ) {
+ printf( "%30s = %s\n", $key, $value );
+ }
+ }
+
my $response
= $self->{ua}->post( $self->{config}->{efa_url}, $self->{post} );