litellm/tests/unit/llms/custom_httpx
Jaeyeon Kim(김재연) a423f1d6a1
fix(httpx): repair surrogate code points in raw text request bodies (#49599)
* fix(httpx): repair surrogate code points in raw text request bodies

Signed-off-by: Jaeyeon Kim <anencore94@gmail.com>

* fix(httpx): return repaired content without reassignment

Signed-off-by: Jaeyeon Kim <anencore94@gmail.com>

* test: move raw body surrogate tests into test_http_handler and drop redundant comments

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Signed-off-by: Jaeyeon Kim <anencore94@gmail.com>
Co-authored-by: kenneth <kenneth@berri.ai>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-11-19 11:48:18 -08:00
..
__init__.py
test_aiohttp_cleanup_closed.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
test_aiohttp_handler.py fix(http): diagnose aiohttp connection pool saturation (#49499) 2026-10-31 16:12:30 -07:00
test_aiohttp_so_keepalive.py refactor(llms): expose public names for private provider helpers (#45037) 2026-10-07 08:49:25 -07:00
test_aiohttp_transport.py fix(aiohttp_transport): close sessions of evicted Azure and base64 embedding clients (#52266) 2026-11-17 17:16:41 -08:00
test_asgi_handler.py
test_async_client_cleanup.py test: move 76 live top-level tests to offline unit and integration coverage (#45352) 2026-10-08 10:33:35 -07:00
test_container_handler.py test: catch regressions in the validation lines #44798 added (#47420) 2026-10-20 01:06:37 +00:00
test_credential_leak_prevention.py
test_gemini_session_leak.py test(unit): stop test modules from putting their own directory on sys.path (#43421) 2026-09-28 12:20:20 -07:00
test_http2_connection_spread.py feat(vertex_ai)!: use HTTP/2 httpx client for search_api vector store (#40631) 2026-10-29 10:31:18 -07:00
test_http_handler.py fix(httpx): repair surrogate code points in raw text request bodies (#49599) 2026-11-19 11:48:18 -08:00
test_llm_http_handler.py fix(responses): prevent duplicate authorization headers (#52259) 2026-11-18 01:15:52 +00:00
test_mock_transport.py
test_sse_lines.py fix(streaming): keep merged think tags balanced and split SSE lines only on CR/LF (#48755) 2026-10-28 17:00:29 -07:00