Automattic / Automattic/knox

putFile, res.resume()?

Open
#259 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.7k
Forks
283
PR merge metrics
No merged PRs in 30d

Description

I prefer the putFile syntax, however I just am not sure what the docs mean by always do something with res or at least call `res.resume()`. I'm checking the data within res, but is there a method I should call to end or what exactly does res.resume() do?

Thank you

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the documentation for putFile and the response handling referenced by res.resume(). Confirm what res.resume() does and whether callers need to consume or end the response, then update the relevant explanation so the expected handling is unambiguous.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.