Turn whatever the kernel produced into something displayable, just before it leaves.
Three cases, in the order they must be checked: an error carried on the snapshot (nothing
ever got to answer), a response that is itself an error, and a normal page. A response
that is none of those is left alone, which is how a handler returning plain data still
works on a phone.
Turn whatever the kernel produced into something displayable, just before it leaves.
Three cases, in the order they must be checked: an error carried on the snapshot (nothing ever got to answer), a response that is itself an error, and a normal page. A response that is none of those is left alone, which is how a handler returning plain data still works on a phone.