make SOAPAction header optional
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 5 Mar 2010 23:01:30 +0000 (23:01 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 5 Mar 2010 23:01:30 +0000 (23:01 +0000)
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

index 27a2557..64faa00 100644 (file)
@@ -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;