From 955b221504c93b46858c49eb58aa9d49787bcd6c Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Fri, 5 Mar 2010 23:01:30 +0000 Subject: [PATCH] make SOAPAction header optional ZTE I20X doesn't seem to send one git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@245 836a5e1a-633d-0410-964b-294494ad4392 --- lib/CWMP/Session.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CWMP/Session.pm b/lib/CWMP/Session.pm index 27a2557..64faa00 100644 --- a/lib/CWMP/Session.pm +++ b/lib/CWMP/Session.pm @@ -131,7 +131,7 @@ sub process_request { if ( $size > 0 ) { - die "no SOAPAction header in ",dump($xml) unless defined ( $r->header('SOAPAction') ); + warn "no SOAPAction header in ",dump($xml) unless defined ( $r->header('SOAPAction') ); warn "## request payload: ",length($xml)," bytes\n$xml\n" if $self->debug; -- 2.20.1