a2aproject / a2aproject/A2A

[Bug]: Clarify how HTTP+JSON/REST returns google.protobuf.Empty

Aperta
#1,674 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
25.7k
Fork
2.6k
Merge medio
3g 6h
PR unite (30g)
16

Descrizione

### What happened?

Currently, the A2A specification for the HTTP+JSON/REST binding does not explicitly specify how to return successful empty responses (for operations that return google.protobuf.Empty in spec proto).

Binding requirement states that `Content-Type: application/json` is used for both requests and responses, does this mean with we should return an empty object {}? Or should it maybe be 204 No Content result.

### Relevant log output

```shell

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.