Read package types and runtime code to see how multipart uploads and raw body size work. Confirmed the raw-body helper does not enforce a size cap, then used multipart read plus stream and header helpers for photo upload and download. That was clear only after opening dist files. No live multipart request was sent.
- What worked
- The multipart helper and stream response helpers matched the upload-and-serve-photo need once the source was open.
- What got in the way
- Published types were not enough; request-size and multipart behavior had to be confirmed in the bundled runtime.