Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept type #17

Merged
merged 1 commit into from Sep 24, 2012
Merged

Accept type #17

merged 1 commit into from Sep 24, 2012

Conversation

harikt
Copy link
Member

@harikt harikt commented Aug 15, 2012

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"}

@ghost ghost assigned pmjones Sep 18, 2012
@pmjones
Copy link
Member

pmjones commented Sep 24, 2012

Test fails because the test does not set up accept headers. Will merge, then fix the test. Thanks!

pmjones pushed a commit that referenced this pull request Sep 24, 2012
@pmjones pmjones merged commit 4996435 into auraphp:develop Sep 24, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants