Skip to content

improve fetch timeout docs #103

@shriram

Description

@shriram

Running

bad-fetch = F.fetch("https://raw.githubusercontent.com/NO-SUCH-URL")
bad-fetch satisfies Ei.is-right

works, but GitHub returns a 400 instead of 404. A URL like

fetch("https://www.pyret.org/NO-SUCH-URL")

ought to help, but it was breaking. Now it works (email: "bad fetching"), so improve the docs w/ this, e.g., look for a 404 in the string.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions