note 108195 added to function.curl-setopt

From: Date: Fri, 06 Apr 2012 13:41:50 +0000
Subject: note 108195 added to function.curl-setopt
Groups: php.notes 
Request: Send a blank email to php-notes+get-186993@lists.php.net to get a copy of this message
If you are using curl to do a soap request and consistently get the following error back: The server cannot service the request because the media type is unsupported. You are sending the Content-type of soap 1.2 to a 1.1 server. Soap 1.1 needs Content-Type: text/xml; Soap 1.2 should have Content-Type: application/soap+xml; ---- Server IP: 69.147.83.197 Probable Submitter: 80.101.124.67 ---- Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php Edit -- https://master.php.net/note/edit/108195 Del: integrated -- https://master.php.net/note/delete/108195/integrated Del: useless -- https://master.php.net/note/delete/108195/useless Del: bad code -- https://master.php.net/note/delete/108195/bad+code Del: spam -- https://master.php.net/note/delete/108195/spam Del: non-english -- https://master.php.net/note/delete/108195/non-english Del: in docs -- https://master.php.net/note/delete/108195/in+docs Del: other reasons-- https://master.php.net/note/delete/108195 Reject -- https://master.php.net/note/reject/108195 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#186993) next »