hairpin.bend fails
raw source on the hub · import bend-kit-hairpin@0.2.1.0/hairpin.bend as Hairpin
Hairpin: an HTTP client with a base URL, default headers, a pool, cookies, mTLS, redirects, and proven retries. Source: https://github.com/paymog/bend-kit/tree/main/hairpin
7 imports
import Base import bend-kit-http@0.23.0.1/http.bend as Http import bend-kit-time@0.1.0.0/time.bend as Time import 0x1f2d80f53f971b16c6de6a65cb1918ae/url.bend as Url import 0x584fc27920487ceab242392391418d7f/json.bend as Json import 0x49814d83de8f70993a43e1002be29ecd/bytes.bend as Bytes import ./retry.bend as Retry
The reader could not load this file (at 0x75e7d19d0e4887c8e9651d356bafc276/http2.bend:335). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Ready)
- observed : 'Ready'
Location:
334 | type Reply is Type:
335>| Ready{client: Client, writes: List<&1, Bytes.Bytes>, events: List<&1, ClientEvent>}
| ^^^^^
336 | Failed{error: Error}