logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

PHP Warning when content-type is missing in HTTP Headers for Server: msg#00026

Subject: PHP Warning when content-type is missing in HTTP Headers for Server
Hi !

We experienced some PHP warnings in the last days where it seemed that someone is using our server with an not really correct query.

Error 8 occured in File /home/ipayment/classes/nusoap/class.soap_server.php on Line 796

Error-Message : Undefined index:  content-type

It will happend in line 795 too.

I think this should be avoided in any case by checking that the array-index "content-type" is set before it is used ...

How nusoap should act when the content-type is missing? ct as if it is set wrongly or assume that the message in "text/xml" ?

Ingo F
--
Ingo Fischer                           Tel: +49 (0)721-91374-4546
1&1 Internet AG
Karlsruhe

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Nusoap-general mailing list
Nusoap-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nusoap-general
<Prev in Thread] Current Thread [Next in Thread>