-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedSomething isn't working as documentedhacktoberfestIssues for participation in HacktoberfestIssues for participation in Hacktoberfest
Description
Hi,
I'm using @octokit/rest
as my GH rest client and I found a possible bug in
request.js/src/fetch-wrapper.ts
Line 50 in 92e7e1c
for (const keyAndValue of response.headers) { |
headers
as a non-iterable object. In that case, @octokit/request
throws an error saying response.headers is not iterable
.
I'd expect the package to iterate the headers
attribute only if it exists and is iterable...
roni-frantchi
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: BugSomething isn't working as documentedSomething isn't working as documentedhacktoberfestIssues for participation in HacktoberfestIssues for participation in Hacktoberfest
Type
Projects
Status
🔥 Backlog