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

建议修改http header中的Content-type #1

Open
leeeboo opened this issue Nov 15, 2012 · 1 comment
Open

建议修改http header中的Content-type #1

leeeboo opened this issue Nov 15, 2012 · 1 comment

Comments

@leeeboo
Copy link

leeeboo commented Nov 15, 2012

建议增加:header('Content-type: application/json');
因为某些ios的http库,例如:https://github.com/AFNetworking 在读取json时会根据返回的http header判断success或failure

@leeeboo leeeboo closed this as completed Jan 8, 2013
@leeeboo leeeboo reopened this Jan 8, 2013
@easychen
Copy link
Owner

这个问题已经修改了啊?

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

No branches or pull requests

2 participants