feat: add gRPC framing to MWP push stream
- Add GRPC_CONTENT_TYPE constant and grpc_frame() to mpack.py - Extract _frame_generator() to module level (sync generator, testable) - _push_stream_httpx now wraps each MWP frame in 5-byte gRPC prefix - Content-Type changed from application/x-muse-wire to application/grpc+muse - Add test_grpc_framing.py: 10 tests covering client-side gRPC framing
sha256:2c149caef4edae813ba37d9a627e9875d1421ad0bbc377b919d7046f24f3d5c5
sha
+18
~3
symbols
sha256:7bf193405657a50857ea2e280216724cc42cf759f8c84aa31e0b5b9e68bda381
snapshot
+18
symbols added
~3
symbols modified
0
dead code introduced
Semantic Changes
21 symbols
+
test_frame_generator_produces_grpc_wrapped_frames
function
function test_frame_generator_produces_grpc_wrapped_frames L137–154
+
test_grpc_frame_compression_flag_is_zero
function
function test_grpc_frame_compression_flag_is_zero L58–61
+
test_multiple_grpc_frames_decode_in_order
function
function test_multiple_grpc_frames_decode_in_order L161–166
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:2c149caef4edae813ba37d9a627e9875d1421ad0bbc377b919d7046f24f3d5c5 --body "your comment"
No comments yet. Be the first to start the discussion.