Commit Graph

31 Commits

Author SHA1 Message Date
lixin18 8ce9774187 [Doc] Update PROTOCOL-HTTP2.md (#34907)
more strict  --> stricter

<!--

If you know who should review your pull request, please assign it to that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the appropriate
lang label.

-->

Closes #34907

COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/34907 from lixin963:patch-1 9081eb445e
PiperOrigin-RevId: 591176601
2023-12-15 01:26:47 -08:00
Jundol 17d37ac9cf
doc# fix: udpate Protocol ABNF syntax link url (#30217)
change rfc5234 link protocol to https.
2022-07-11 16:23:04 -07:00
Peter W 653ba624cf
Clarify meaning of 'lameduck' 2020-07-28 08:08:34 +10:00
Menghan Li 5b7aa136ab move 2020-04-24 18:00:56 -07:00
Menghan Li 6ba920a573 doc: clarify that gRPC paths are case-sensitive 2020-04-24 09:54:54 -07:00
Ishan Khare da73686cac
nest time units
nest time units for better readability
2019-12-05 18:54:19 +05:30
Doug Fawley 1ef874a03f change from 400 to 415 2019-04-02 13:53:21 -07:00
Doug Fawley be014d005d Misconfigured non-gRPC, HTTP/2 clients can sometimes connect to gRPC servers.
Today, these clients will receive an HTTP status 200 (OK) with a trailer that
gRPC clients would be able to interpret as an error, but non-gRPC clients would
interpret as a success.  In Go and Java, this will have a grpc-status of
UNKNOWN due to an unexpected content-type header.  In C, the content-type
header is currently ignored, but a grpc-status of UNAVAILABLE will be returned
if a handler for that method is not registered (which is likely in this
scenario).

This change updates the gRPC HTTP/2 spec to recommend returning HTTP status 400
(Bad Request) to interoperate better with non-gRPC clients.

Note that we should not do any enforcement on user-agent, as the spec
specifically says "the protocol does not require a user-agent to function".
2019-03-22 14:43:50 -07:00
Jan Tattermusch 3977c30f47 add a note message length encoding 2018-10-19 17:38:23 +02:00
Emmanuel T Odeke 2bd7bf1504
doc: fix minor typo in spelling "mechanism"
s/mechanisim/mechanism/g
2018-03-02 17:15:23 -08:00
Jan Tattermusch e7136643b8 remove space 2017-12-12 15:55:13 -08:00
Jan Tattermusch dbd9d99fd7 Merge changes from grpc.io's version wire.md 2017-12-12 15:42:09 -08:00
Mark D. Roth 91455a9915 Apply a few recent changes from the wire guide on grpc.io. 2017-05-03 09:14:10 -07:00
Eric Anderson a733951fbd Fix markdown headers in PROTOCOL-HTTP2
Without the space they do not display correctly.
2017-03-31 16:20:26 -07:00
Steve Jenson a5fd2d53f4 adding content-type to the example response 2017-01-13 12:12:09 -08:00
Carl Mastrangelo 14eae8f360 Update Protocol spec to mention idempotency 2016-09-27 10:54:02 -07:00
Eric Anderson 0b3a621698 spec: Percent-encode Status-Message 2016-08-19 15:43:03 -07:00
David Garcia Quintas 3165ff3d95 Added compression spec 2016-03-08 01:03:10 -08:00
Louis Ryan a614f4eb79 Update PROTOCOL-HTTP2.md 2015-12-15 10:37:56 -08:00
Eric Anderson 94aa0fd393 Improve grammar/language for clarity 2015-11-16 15:34:12 -08:00
Eric Anderson c6059e6671 Specify header value restrictions
Fixes grpc/grpc-common#266
2015-11-05 11:55:49 -08:00
Eric Anderson 8e79b82273 Add missing characters in BNF comment 2015-11-04 16:46:42 -08:00
Eric Anderson 5554738645 Define limit on metadata size
Fixes grpc/grpc-common#273
2015-11-04 16:46:41 -08:00
Eric Anderson 2e18fd6493 Add "identity" as a content encoding
Fixes grpc/grpc-common#257
2015-11-04 15:50:40 -08:00
Eric Anderson 981201fc5e Content-type is required for requests
This fixes grpc/grpc-common#185
2015-11-04 15:49:04 -08:00
Eric Anderson 21f37347a2 Rename Delimited-Message to Length-Prefixed-Message
This fixes grpc/grpc-common#205
2015-11-04 15:48:44 -08:00
Eric Anderson 82cfe9028c Replace curly quotes with plain ASCII quotes
The pretty quotes were automatically converted from ASCII quotes when
the documented was a Google Doc. Now they just make modifying the
document harder.
2015-11-04 15:43:37 -08:00
Eric Anderson 81790fc7cf Escape some special markdown characters
None of them were causing display problems online, but it would be easy
for them to start causing trouble.
2015-11-04 15:37:21 -08:00
Carl Mastrangelo 4a827f746a Address comments 2015-09-11 15:07:26 -07:00
Carl Mastrangelo 1b23976e1b Update Header Field name rules 2015-09-11 14:55:34 -07:00
Stanley Cheung 20fa6693f3 move examples to correct locations 2015-08-27 14:00:20 -07:00