gitoria

kunibert

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita0f3d147a0f3d147Records: #16 livemrea0f3d147/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

  • a0f3d147Records: #16 livemre
  • 04322148Run reviews in parallel across repositoriesKunibert
  • a6577aaeRecords: #14 live, #16 startedmre
  • 0382238bStart fresh on Review again and name vendored pathsKunibert
  • 5608c6f1Records: kunibert#13 vendored paths livemre
  • 8840771dExclude vendored findings from app verdictsKunibert
  • 6aa65353Records: jukebox connected, first reviewmre
  • ad8011cfRecords: neutral ticket rule, jukeboxmre
  • ca5f31dfPrompt: neutral reviewer identitymre
  • b241d9c8Records: Anton tryParse noteKunibert
  • 42cc1bc0Records: K12 doneKunibert
  • 9e6039eeRecords: gates K11, K12Kunibert
  • 59b8fe83Use Hybriel day39 helpersKunibert
  • c2e393a2Records: K12 startedKunibert
  • 00696678Records: Anton day39 notemre
  • 070e01a4Records: parkmre
  • bf8af0dcRecords: v1.4 checkedmre
  • 44af321bRecords: contract v1.4mre
  • 310f3fd0Records: outdated semanticsmre
  • 268ebfe6Records: #11 proven live and closedmre