Encode Starlette