Request format tweaks #575

Merged
merged 3 commits into from Apr 22, 2011

2 participants

@lsmith77

The goal is to make the base Request class more flexible.

For a use case see: https://github.com/FriendsOfSymfony/RestBundle/blob/master/Request/RequestListener.php

See #565

@fabpot
Symfony member

I'm fine with the first two commits, but not the last one as it changes the current behavior. Before the patch, the content-type would be 'text/html; charset=utf-8'. After the patch, it will only be 'text/html'.

@fabpot
Symfony member

nevermind, I've changed the behavior of the Response class to fix this problem there.

@fabpot fabpot merged commit c2ac830 into symfony:master Apr 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment