HttpResponse
A completed request. request() resolves with it when the server answered, whatever the status code.
Properties
Section titled “Properties”body:
Buffer
Response body bytes. Empty for HEAD requests and for responses without a body.
headers
Section titled “headers”headers:
Record<string,string>
The headers named in responseHeaders that the response contains, with names as you wrote them.
status
Section titled “status”status:
number
HTTP status code the server returned, for example 200 or 404. Check it yourself: error statuses still resolve.
wasTimedOut
Section titled “wasTimedOut”wasTimedOut:
boolean
true when the request timed out. A timeout normally rejects the promise instead, so this is false on a resolved response.
Turn ideas into shipped software.
HagiCode is an agentic coding workspace. OpenSpec workflows plan the change, multi-agent execution carries it out, and Hero Scenario makes the long run visible, so ideas become shipped software.
- Smart
- OpenSpec workflows turn intent into a path from proposal to shipped change.
- Efficient
- Multi-agent execution runs research, build, and review in parallel.
- Fun
- Rich UI interactions make planning, agent work, and projects easier to follow.
© 2026 HagiCode | Powered By hagilight-starlight@0.23.0 | Branch: main | Commit: 7164ec7 | Built:
