python/sandbox/v0.1.12

mantinedev/mantinepython/sandbox/v0.1.12Jun 22, 2026by Pangjiping

AI Summary

Resolves issues with large file uploads in the Python Sandbox SDK by implementing chunked multipart encoding for direct execd targets and Content-Length multipart for server proxy paths.

Key Highlights

  • Fixed large file upload failures by using chunked multipart encoding when targeting execd directly.
  • Fixed large file upload failures by using Content-Length multipart when going through the server proxy.
  • Includes async and sync regression tests verifying request framing and headers for both modes.

Full Release Notes

## What's New

### 🐛 Bug Fixes

- **Large file upload failures** — Fixed file uploads so large writes use chunked multipart when targeting execd directly, and Content-Length multipart when going through the server proxy. Previously, large file uploads could fail depending on the transport path. Per-entry text encoding handling is preserved in both upload paths. Includes async and sync regression tests that verify request framing and headers for both modes. (#1089)

### 👥 Contributors

- @Gujiassh