netty-http
netty-http copied to clipboard
The return data could not be received , android
The return data could not be received , android
Can you give more details for the issue? Do you see any errors?
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
Android Mobile phone as a server ,Browser access to phone
curl data is received
I'm sorry my English is poor,I don't know if you can read the description;
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
我是做android开方的,用您写的这个框架,写接口,运行在手机上; 例如接口名称/api/ping, 我用浏览器能访问这个接口 并能接到数据,返回body数据为空时(responder.sendString(HttpResponseStatus.OK,"");) 浏览器能接到响应的,但当返回body数据不为空时 (responder.sendString(HttpResponseStatus.OK,"ok");)浏览器无响应,一直访问
但是 我用curl http://192..../api/ping 能够返回ok数据
I am from China
close