Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
Sign in
Sign up
Fetch the repository succeeded.
The current repo belongs to Closed status, and some functions are restricted. For details, please refer to the
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
14
Star
127
Fork
86
OpenHarmony-TPC
/
httpclient
Closed
Code
Issues
41
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
返回json数据过长时拿到的response的result为空
Backlog
#IBB4C7
Task
baobrother
Opened this issue
2024-12-13 15:10
**【问题描述】** 1、正常访问另外一个接口,能拿到返回值 2、使用同样的代码请求另外一个目标接口(出问题),能看到日志中有正常200,但是返回的数据只显示了一行,其他行日志未打印。得到的response的result为空 3、我在拦截器的里面去打断点,这时打印里面还能看到返回值,并且全部打印了。 4、如果不断点这个打印只打印了一行,得到的response的result为空,尝试用了异步请求,还是不行 这个接口的返回值在android端看了一下是一个图片的base64串很长,2w多个字符,因此怀疑是字符长度过长导致的,但是看日志,这个接口的网络访问是成功的,数据也拿到了。只是response中为空
**【问题描述】** 1、正常访问另外一个接口,能拿到返回值 2、使用同样的代码请求另外一个目标接口(出问题),能看到日志中有正常200,但是返回的数据只显示了一行,其他行日志未打印。得到的response的result为空 3、我在拦截器的里面去打断点,这时打印里面还能看到返回值,并且全部打印了。 4、如果不断点这个打印只打印了一行,得到的response的result为空,尝试用了异步请求,还是不行 这个接口的返回值在android端看了一下是一个图片的base64串很长,2w多个字符,因此怀疑是字符长度过长导致的,但是看日志,这个接口的网络访问是成功的,数据也拿到了。只是response中为空
Comments (
1
)
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Declined
Assignees
Not set
Labels
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (3)
Tags (41)
master
develop
feature-3.2
2.0.5-rc.2
2.0.5-rc.1
2.0.5-rc.0
axiosForHttpclient_1.0.0
2.0.4
2.0.3
2.0.2
2.0.2-rc.1
axiosForHttpclient_1.0.0-rc.6
2.0.2-rc.0
2.0.1
axiosForHttpclien_1.0.0-rc.5
2.0.1-rc.9
2.0.1-rc.8
2.0.1-rc.7
2.0.1-rc.6
2.0.1-rc.5
2.0.1-rc.4
2.0.1-rc.3
axiosForHttpclient_1.0.0-rc.4
2.0.1-rc.2
2.0.1-rc.1
axiosforhttpclient_1.0.0-rc.3
2.0.1-rc.0
2.0.0
axiosforhttpclient_1.0.0-rc.2
2.0.0-rc.9
2.0.0-rc.8
2.0.0-rc.7
axiosforhttpclient_1.0.0-rc.1
2.0.0-rc.6
2.0.0-rc.5
2.0.0-rc.4
2.0.0-rc.3
2.0.0-rc.2
2.0.0-rc.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(1)
1
https://gitee.com/openharmony-tpc/httpclient.git
[email protected]
:openharmony-tpc/httpclient.git
openharmony-tpc
httpclient
httpclient
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register