Repository navigation
fix(spec): prefer application/a2a+json in HTTP binding - #1753
Merged
spetschulatSFDC merged 2 commits intoApr 21, 2026
Merged
spetschulatSFDC merged 2 commits into
spetschulatSFDC merged 2 commits into
Conversation
Update HTTP+JSON binding requirements and examples to use application/a2a+json, aligning with the registered A2A media type and existing HTTP binding examples. Made-with: Cursor
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the specification to use application/a2a+json as the standard content type instead of application/json across various HTTP examples and protocol requirements. It also includes minor formatting improvements to the error mapping table. A suggestion was made to bold the normative keyword 'SHOULD' in the protocol requirements section to maintain consistency with RFC 2119 conventions.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
darrelmiller
approved these changes
Apr 20, 2026
Tehsmash
self-requested a review
April 21, 2026 16:53
Tehsmash
approved these changes
Apr 21, 2026
msampathkumar
added a commit
that referenced
this pull request
May 28, 2026
Add release notes for A2A - Python SDK v1.0.1 --- ## [1.0.1](v1.0.0...v1.0.1) (2026-04-23) ### Bug Fixes * **spec:** prefer application/a2a+json in HTTP binding ([#1753](#1753)) ([7ff1004](7ff1004)) * **spec:** recent transcoding-related error changes ([#1627](#1627)) ([757f0ec](757f0ec)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: Sampath Kumar <sam1990kumar@gmail.com>
1 task done
Closed
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
application/a2a+jsonSHOULD be used for request/response payloads.Content-Type: application/a2a+json./rpcexample onapplication/jsonto avoid changing JSON-RPC semantics.Why
Issue #1748 identified inconsistent guidance: Section 11.1 said
application/json, while many HTTP examples and the registered A2A media type (application/a2a+json) already pointed to A2A-specific media typing.This change resolves that inconsistency and improves interoperability clarity for HTTP+JSON implementations.
Fixes #1748