mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #480] pages/index.vue 1736 #188
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#188
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kenzyyang on GitHub (Jan 10, 2020).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/480
Describe the bug

while this.response.headers is undefined,it will cause a error.
@AndrewBastin commented on GitHub (Jan 11, 2020):
Well, according to the HTTP spec, you can't exactly have a response without headers, so I don't see why it will become undefined. The only thing is that response can choose to not have a
Content-Type, but we do handle that case as seen from the above snippetIf you could bring into attention a scenario where that is possible, we will refactor the code.
@kenzyyang commented on GitHub (Jan 12, 2020):
now i can't replicate the problem but i'll tell you immediately the next time.
and it's better to handle the situation where this.response and this.response.headers is undefined.
thanks for your reply