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

The return data could not be received , android #72

Open
WWY2016 opened this issue Apr 20, 2019 · 10 comments
Open

The return data could not be received , android #72

WWY2016 opened this issue Apr 20, 2019 · 10 comments

Comments

@WWY2016
Copy link

WWY2016 commented Apr 20, 2019

The return data could not be received , android

@chtyim
Copy link
Contributor

chtyim commented Apr 20, 2019

Can you give more details for the issue? Do you see any errors?

@WWY2016
Copy link
Author

WWY2016 commented Apr 20, 2019

responder.sendString(HttpResponseStatus.OK,""); Data is empty ,The browser receives the data;
but (responder.sendString(HttpResponseStatus.OK,"test"); ) The data is not empty The browser cannot return a value

@WWY2016
Copy link
Author

WWY2016 commented Apr 20, 2019

Android Mobile phone as a server ,Browser access to phone

@WWY2016
Copy link
Author

WWY2016 commented Apr 20, 2019

curl data is received

@WWY2016
Copy link
Author

WWY2016 commented Apr 20, 2019

I'm sorry my English is poor,I don't know if you can read the description;

@chtyim
Copy link
Contributor

chtyim commented Apr 20, 2019

I don’t quite get what you mean. Maybe you can write in your own language and we can try to get someone to help on translation

@WWY2016
Copy link
Author

WWY2016 commented Apr 20, 2019

我是做android开方的,用您写的这个框架,写接口,运行在手机上; 例如接口名称/api/ping, 我用浏览器能访问这个接口 并能接到数据,返回body数据为空时(responder.sendString(HttpResponseStatus.OK,"");) 浏览器能接到响应的,但当返回body数据不为空时 (responder.sendString(HttpResponseStatus.OK,"ok");)浏览器无响应,一直访问

@WWY2016
Copy link
Author

WWY2016 commented Apr 20, 2019

但是 我用curl http://192..../api/ping 能够返回ok数据

@WWY2016
Copy link
Author

WWY2016 commented Apr 20, 2019

I am from China

@fatso83
Copy link

fatso83 commented Apr 19, 2022

close

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

3 participants