import type { MockContext } from '../src/respond.ts' // Echo back whatever was POSTed — handy for testing client request shaping. export default function ({ body, query, headers }: MockContext) { return { received: body, query, contentType: headers['content-type'] ?? null } }