I try to generate HTTP Snippet Code for Download File from Server, but I'm not able to download file because my HTTP Request Snippet is incomplete
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 20/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- tooling
调研方向
该 issue 未指出需要检查的仓库文件、入口点或测试;它报告了通过 snippet generator 和 GSM 模块发起的请求。首先为 GitHub 文件建立一个可复现的请求和预期生成输出,然后定义能够捕获所需 snippet 及成功下载行为的测试。
由索引模型根据 Issue 内容生成。
描述
I try to generate HTTP request Snippet code of server link: https://github.com/HeetShukla/LED/blob/main/sketch_apr3a/build/esp32.esp32.esp32/sketch_apr3a.ino.bin and below Image is Showing the HTTP Snippet Code.
. but this is the incomplete HTTP Snippet code. using this snippet i get below error.
HTTP/1.1 408 Request Time-out
Content-length: 110
Cache-Control: no-cache
Connection: close
Content-Type: text/html
408 Request Time-out
Your browser didn't send a complete request in time. " I also Increase timeout Time in Timeout Configuration. but still i'm getting this error. I'm trying to fetch file using GSM module. so basically I Configure using AT Command. so my Configuration is below Serial1.print("AT+CIPSTART=TCP,github.com,80\r\n"); Serial1.print("AT+CIPSTATUS\r\n"); Serial1.print("AT+CIPSEND=86\r\n"); Serial1.print("GET /HeetShukla/OTA_Test_LED/blob/main/sketch_apr3a.ino.bin HTTP/1.1\r\nHost: github.com");using upper Configuration AT Command I try to fetch file but I'm not able to fetch file.
I have one Example of the Snippet Code data, and I also attach Screenshot of the data. Example link: https://petpooja-app-builds.s3.ap-south-1.amazonaws.com/payroll/Payroll_Firmware_v1.0.ino.bin
Screenshot of the data:
So kindly help how can i generate correct Snippet code. I need the same data as in the example image for my second link. kindly help me out how can generate this data. how can i solve this error and download binary file.
Contact: heetshukla.89@gmail.com
- 主要语言
- TypeScript
- 星标
- 1.2k
- 派生
- 242
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Kong/httpsnippet 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 62/100
Kong/httpsnippet#356 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Kong/httpsnippet#389 ·
-
难度 5/5 一周以上 新手友好度 25/100
Kong/httpsnippet#383 ·
-
难度 3/5 1-2 天 新手友好度 35/100
Kong/httpsnippet#379 ·
-
难度 3/5 1-2 天 新手友好度 48/100
Kong/httpsnippet#370 ·
相似的 Issue
-
Browser Waiting for: Product Owner
难度 2/5 1-3 小时 新手友好度 85/100
getsentry/sentry-javascript#24577 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
agilepathway/label-checker#640 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
copse-dev/agent-pane#2953 ·
-
agentic-workflows
难度 1/5 1 小时以内 新手友好度 85/100
githubnext/rig#534 ·
-
automation missing-model model-sync provider:pioneer
难度 2/5 1-3 小时 新手友好度 76/100
anomalyco/models.dev#7701 ·