On Jul 5, 2013, at 8:49 , Thomas Lundquist <[email protected]> wrote:

> 
> This was quite interesting for sure.
> (JSON-LD aswell, I just wish they separated the context into "system"/"host"
> and object/object-name.)
> 
> But! I also am in favour of adding REST to Symfony and I have a suggestion
> on where to start.
> 
> Add handling and honourng of Accept: - headers in the error handler/renderer.
> Right now I can send an Accept: with json only and receive a 404 in HTML. I 
> use
> text/plain aswell and the same happens.
> 
> It would be very easy to just start with not sending any body at all, just
> the code and text, unless HTML is accepted or there are templates available
> for it.

This is already covered in FOSRestBundle.

regards,
Lukas Kahwe Smith
[email protected]



-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" 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-devs?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Symfony developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to