python/sandbox/v0.1.12

opensandbox-group/OpenSandboxpython/sandbox/v0.1.12Jun 22, 2026by Pangjiping

AI Summary

Python Sandbox SDK fixes large file upload failures by adjusting multipart encoding strategies for different transport paths.

Key Highlights

  • Fixed large file uploads using chunked multipart when targeting execd directly
  • Uses Content-Length multipart when going through the server proxy
  • Preserves per-entry text encoding handling in both upload paths

New Features

  • Fixed large file upload failures (chunked multipart and Content-Length multipart support)

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