Hey guys,

I'm trying to get some user data from a rest webservice using
file_get_contents, the problem is, when the sfObjectRoute::getObject cannot
find the user, it issues a 404 Exception.

It's all fine with that, the problem is when the sfError404Exception calls
the method printStackTrace() that sends a 500 Internal Server Error header.
That error causes file_get_contents to issue a
"[function.file-get-contents<http://teste.dev.com/function.file-get-contents>]:
failed to open stream: HTTP request failed! HTTP/1.0 500 Internal Server
Error in" warning. It this the right behavior?

Att.
Rafael Barbosa

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to