Hi guys,

I have a weird problem when trying to acces an XML file with Basic 
Authentication enable.

When i try to acces the url to retrieve JSON, all work as intended: browser 
ask username & password.
Successfull auth give me the json, auth failed = json with status 401.

Same Url but in XML format: the browser never ask for credential, the 
reponse start with:

*Warning* (4096): Object of class Cake\Network\Request could not be converted 
to string [*CORE\src\Utility\Xml.php*, line *338*]


If I request the json with right credential, then ask the XML, I get the xml 
file.


Maybe I made a mistake, but I can't find where !


Thanks


ps: Cakephp 3.1.4.

ps 2: sorry for my english

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

Reply via email to