on master help sign in
change generator content-length phrasing
commitaeca8d715585875af0558d5bc84ae85801a163e7 authortinnus-napbus <admin@tinnus-napbus.xyz> dateSun 27 Jun 2021, 14:18 (5 years ago) parent45ce043
1 file changed+1−1
arvo/eyre/examples.md+1−1
arvo/eyre/examples.md+1−1
@@ -523,7 +523,7 @@ The sample of the second nested gate must be:
523523
524524The return type of the generator must be [simple-payload:http](@/docs/arvo/eyre/data-types.md#simple-payload-http). If you look at our example generator you'll see it meets these requirements.
525525
526−Because generators return the entire HTTP message as a single `simple-payload`, Eyre can calculate the `content-length` itself and automatically add the header, so we don't need to do it by hand like with a Gall agent.
526+Because generators return the entire HTTP message as a single `simple-payload`, Eyre can calculate the `content-length` itself and automatically add the header.
527527
528528In order to make our generator available, we must bind it to a URL path. To do this, we send Eyre a `%serve` `task`, which looks like:
529529