gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0db272000db27200gitoria#32: share character checks and environment lookupmre0db27200/plugins/fetch/tests/try_fetch.hl

510 B

  1. import { fetch, tryFetch } from 'hl:fetch'
  2. refused = tryFetch('http://127.0.0.1:32262/x')
  3. console.log(JSON.stringify(refused))
  4. slow = tryFetch('http://127.0.0.1:32261/x', { timeoutMs = 80 })
  5. console.log(JSON.stringify(slow))
  6. for (code of [200, 404]) {
  7. url = 'http://127.0.0.1:32260/' + code
  8. a = fetch(url)
  9. b = tryFetch(url)
  10. console.log(a.status == b.status, a.ok == b.ok, a.url == b.url, a.body == b.body, a.tag == b.tag, JSON.stringify(a.headers) == JSON.stringify(b.headers), b.text(), b.json().code)
  11. }

Branches

Latest commits

  • 0db27200gitoria#32: share character checks and environment lookupmre
  • 452f6a1amission W60: logic clean-upsmre
  • 1448c899log: cleanup, #49 GPTBot, tracker mentions on #36mre
  • fcf95936log: v1.5.1 provenmre
  • 22105420log: W51b livemre
  • 7e8aabeareport: W51b pull source verificationmre
  • 6c18de76fix: preserve pull sources across containing branchesmre
  • fc36fa2elog: W51b pull source bugmre
  • 56bc1220log: v1.5.1 livemre
  • 845fc0aareport: W51mre
  • 83127391fix: return v1.5.1 app and merge error detailsmre
  • b07d0e97log: W51 v1.5.1 startedmre
  • 0b417d06docs: apps-api v1.5 user tokens (#48, W49)mre
  • d046940alog: vinzenz contract note sentmre
  • db443456log: vinzenz note retry 2mre
  • 802f229alog: kunibert repo ping provenmre
  • 2d2eaa92log: Kunibert connected to kunibert repomre
  • 65d5f80alogmre
  • dab74b0dW49 report, logmre
  • fd4fc028Exercise member status reads with a populated check statemre