diff --git a/wit-0.3.0-draft/types.wit b/wit-0.3.0-draft/types.wit index 31eb62a..0a09233 100644 --- a/wit-0.3.0-draft/types.wit +++ b/wit-0.3.0-draft/types.wit @@ -354,13 +354,6 @@ interface types { /// component by e.g. `handler.handle`. headers: func() -> headers; - /// Get the body associated with the Request, if any. - /// - /// This body resource is a child: it must be dropped before the parent - /// `request` is dropped, or its ownership is transferred to another - /// component by e.g. `handler.handle`. - body: func() -> option; - /// Takes ownership of the `request` and returns the `headers` and `body`, /// if any. into-parts: static func(this: request) -> tuple>; @@ -437,13 +430,6 @@ interface types { /// component by e.g. `handler.handle`. headers: func() -> headers; - /// Get the body associated with the Response, if any. - /// - /// This body resource is a child: it must be dropped before the parent - /// `response` is dropped, or its ownership is transferred to another - /// component by e.g. `handler.handle`. - body: func() -> option; - /// Takes ownership of the `response` and returns the `headers` and `body`, /// if any. into-parts: static func(this: response) -> tuple>;