http.bend fails
raw source on the hub · import 0x0a372da4a053652f70ded7d6e0d19330/http.bend as Http
ezhttp/http: HTTP/1.1 message text for client and server — request and response formatting/parsing — with no sockets. Semantics follow RFC 9110; message syntax and framing follow RFC 9112. TLS is outside this module.
2 imports
import Base import ./body.bend as Body
The reader could not load this file (at 0x0a372da4a053652f70ded7d6e0d19330/body.bend:9). What bend.ts says:
Error:
- expected : a fresh constructor name (duplicate declaration: Text)
- observed : 'Text'
Location:
8 | Empty{}
9>| Text{text: String}
| ^^^^
10 | Octets{bytes: List<&2, U32>}