Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Proposal: Sequential execution of multiple HTTPie requests via STDIN

未关闭
#1,683 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
python
领域
api, cli

调研方向

未指定文件或测试。先查看 HTTPie 现有的 CLI 模式和请求执行入口,然后明确 stdin 请求格式和顺序执行行为。完成标准是:三个示例请求通过一次调用按顺序各执行一次,不进行重复、调度、并发或批处理。

由索引模型根据 Issue 内容生成。

描述

enhancement new

Checklist

  • I've searched for similar feature requests.

Enhancement request

I’d like to propose an opt-in way to execute multiple HTTPie request definitions sequentially via STDIN, one request at a time, using a single HTTPie invocation.

This would allow users to pipe a stream of complete request definitions into HTTPie and have them executed in order, without introducing repetition, scheduling, concurrency, or automation workflows.


Problem it solves

I’m often debugging or exploring APIs that require multiple dependent steps, such as:

  • authenticate → fetch resource → submit data
  • create entity → verify → update → delete

Today, this requires chaining multiple http commands in shell scripts, which quickly becomes hard to read, reuse, or share.

I’m trying to define and execute a clear, human-readable sequence of HTTP requests so that multi-step API interactions can be explored and debugged more easily, without turning HTTPie into a load-testing or workflow tool.


Additional information, screenshots, or code examples

Example usage (illustrative)

cat requests.http | http --sequence

Where requests.http contains:

GET https://httpbin.org/get
POST https://httpbin.org/post name=alice
GET https://httpbin.org/headers

Notes on scope (explicit non-goals)

This proposal does NOT aim to support:

  • request repetition or looping
  • delays, timers, or scheduling
  • concurrency or batching
  • load testing or benchmarking

Each request would be executed once, strictly in order, with normal HTTPie output.

If this direction aligns with HTTPie’s scope, I’d be happy to work on an implementation and tests following existing CLI patterns.

主要语言
Python
星标
38.6k
派生
4k
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

httpie/cli 的其他 Issue

查看 httpie/cli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。