auraphp/Aura.Framework — pull request #17 by harikt (2012-08-15 07:43:55+00:00)
Title: Accept type

Note : The test fails

I have added

$_SERVER['HTTP_ACCEPT'] = 'text/*;q=0.9, text/html ,text/xhtml;q=0.8';

to `Aura\Framework\Web\Hello\PageTest` . But it didn't find a success .

This resolves the bug #10#issuecomment-7748185

$curl -i http://localhost:8000/fb/login -H "Accept: application/json"
HTTP/1.1 200
Host: localhost:8000
Connection: close
X-Powered-By: PHP/5.4.4-1~oneiric+1
Content-Type: application/json

{"hello":"World","hello1":"World1","hello2":"World2"}