This is an egg for CHICKEN 4, the unsupported old release. You're almost certainly looking for the CHICKEN 5 version of this egg, if it exists.
If it does not exist, there may be equivalent functionality provided by another egg; have a look at the egg index. Otherwise, please consider porting this egg to the current version of CHICKEN.
Pilgrim is a tiny HTTP kernel for chicken scheme. It presently doesn't implement very much of the spec, but holds few opinions; meaning the developer is free to use their own idiom and use pilgrim only as a thin layer of abstraction around http.
Pilgrim is designed only to wrap http request handling and serialization. It deliberately shies away from implementing anything vaguely like business or app logic.
- start port handlerprocedure
Begin the server, calling handler with a request and response object.
handler should modify and return the response object.