qdyxmas's Room

Done is better than perfect...

jmeter HTTP2

HTTP/2 API Request Headers

Request-Headers → Call-Definition *Custom-Metadata
Call-Definition → Method Scheme Path TE [Authority] [Timeout] Content-Type [Message-Type] [Message-Encoding] [Message-Accept-Encoding] [User-Agent]
Method → “:method POST”
Scheme → “:scheme “ (“http” / “https”)
Path → “:path” “/” Service-Name “/” {method name} # But see note below.
Service-Name → {IDL-specific service name}
Authority → “:authority” {virtual host name of authority}
TE → “te” “trailers” # Used to detect incompatible proxies
Timeout → “grpc-timeout” TimeoutValue TimeoutUnit
TimeoutValue → {positive integer as ASCII string of at most 8 digits}
TimeoutUnit → Hour / Minute / Second / Millisecond / Microsecond / Nanosecond
Hour → “H”
Minute → “M”
Second → “S”
Millisecond → “m”
Microsecond → “u”
Nanosecond → “n”
Content-Type → “content-type” “application/grpc” [(“+proto” / “+json” / {custom})]
Content-Coding → “identity” / “gzip” / “deflate” / “snappy” / {custom}
Message-Encoding → “grpc-encoding” Content-Coding
Message-Accept-Encoding → “grpc-accept-encoding” Content-Coding *(“,” Content-Coding)
User-Agent → “user-agent” {structured user-agent string}
Message-Type → “grpc-message-type” {type name for message schema}
Custom-Metadata → Binary-Header / ASCII-Header
Binary-Header → {Header-Name “-bin” } {base64 encoded value}
ASCII-Header → Header-Name ASCII-Value
Header-Name → 1*( %x30-39 / %x61-7A / “_” / “-“ / “.”) ; 0-9 a-z _ - .
ASCII-Value → 1*( %x20-%x7E ) ; space and printable ASCII

HTTP/2 API Response Headers

Response → (Response-Headers *Length-Prefixed-Message Trailers) / Trailers-Only Response-Headers → HTTP-Status [Message-Encoding] [Message-Accept-Encoding] Content-Type *Custom-Metadata
Trailers-Only → HTTP-Status Content-Type Trailers
Trailers → Status [Status-Message] *Custom-Metadata
HTTP-Status → “:status 200”
Status → “grpc-status” 1*DIGIT ; 0-9
Status-Message → “grpc-message” Percent-Encoded
Percent-Encoded → 1*(Percent-Byte-Unencoded / Percent-Byte-Encoded)
Percent-Byte-Unencoded → 1*( %x20-%x24 / %x26-%x7E ) ; space and VCHAR, except %
Percent-Byte-Encoded → “%” 2HEXDIGIT ; 0-9 A-F
I’m enjoying getting down to the nitty-gritty details of how HTTP/2 works. I’m intrigued by the multi-directionality of it. Being able to use just like HTTP/1.1 with simple requests and responses, but also being able to introduce bi-directional API calls, where you can make many different API calls as you want. I don’t think I will get any time to play in the near future. I have way too much work. However, I do like learning about how it is being used, and I think Google is the most forward-thinking when it comes to HTTP/2 adoption in the API sector – providing multi-speed APIs in JSON using HTTP/1.1, or Protocol Buffers using HTTP/2.

标签 

21 评论

  1. PkoSR
    /回复

    Medicine information for patients. Cautions. <a href="https://lyricainfo.top">buy lyrica online no prescription required</a> in Canada All trends of drug. Get information here.

  2. JaniceWeS
    /回复

    cialis price cvs <a href="https://mycialistabs.com/">teva generic cialis</a> how to buy cialis online

  3. TiffanyreD
    /回复

    cialis for prostate <a href="https://toptadalafiltabs.com/">cialis super active</a> cialis generic canada

  4. Stellavam
    /回复

    how to write a summary essay of an article <a href="https://topessaywriterfas.com/">writing personal essays</a> how to write a character analysis essay step by step

  5. RebeccaMew
    /回复

    mathematician essay writing service <a href="http://writemyessayslfd.com/">http://www.writemyessayslfd.com/</a> good title for essay about community service

  6. FrancesHix
    /回复

    viagra 200mg <a href="https://mrviagrashop.com">viagra for womens where to buy</a> female viagra

  7. Martinanulse
    /回复

    sildenafil 20 mg prices <a href="https://mysildenafilkr.com/">viagra online usa</a> sildenafil prescription online

  8. YxiOQ
    /回复

    medical school resume <a href="http://coverletterforresumetop.com/">best resume writing companies</a> cover letter ideas

  9. Kathryngogue
    /回复

    cialis half life <a href="http://tadalafilled.com/">cialis manufacturer</a> cialis alternative over the counter

  10. McaQQ
    /回复

    resume helper <a href="https://writingacoverletteronline.com/">customer service cover letter</a> resume headline

  11. PfbTJ
    /回复

    canadian pharmacy viagra <a href="https://edviagramaster.net/">womens viagra</a> viagra online

  12. GhbNN
    /回复

    what is cialis taken for <a href="https://cialisortadalafil.com/">cialis without prescription</a> generic cialis for sale

  13. MitRF
    /回复

    natural viagra <a href="https://sildenafilviagratop.com">sildenafil citrate 100mg</a> viagra price

  14. AjiVN
    /回复

    cialis vs. viagra <a href="https://topcialistabs.com/">cialis dosages</a> how much is cialis per pill

  15. HacEY
    /回复

    Medicines information for patients. Brand names. <a href="https://topregabalin.top">can you buy generic pregabalin</a> in US Best trends of meds. Get information here.

  16. JreDP
    /回复

    Medicines information sheet. Long-Term Effects. <a href="https://colchicine4u.top">cost of generic colchicine</a> in Canada Actual trends of medicines. Read information now.

  17. DlgNA
    /回复

    <a href="http://coverletterforresumetop.com/">http://coverletterforresumetop.com/</a>

  18. XkxHE
    /回复

    <a href="https://mrviagrashop.com/">https://mrviagrashop.com/</a>

  19. XuaVQ
    /回复

    <a href="https://viagra4m.top">viagra4m</a>

  20. CharlesVex
    /回复

    “I haven’t seen you in these parts,” the barkeep said, sidling over to where I sat. “Repute’s Bao.” He stated it exuberantly, as if word of his exploits were shared by settlers about assorted a verve in Aeternum. He waved to a unimpassioned tun upset us, and I returned his indication with a nod. He filled a field-glasses and slid it to me across the stained red wood of the excluding before continuing. “As a betting fellow, I’d be willing to wager a honourable portion of silver you’re in Ebonscale Reach for more than the swig and sights,” he said, eyes glancing from the sword sheathed on my in to the bend slung across my back. https://images.google.fi/url?q=https://renewworld.ru/otlichie-new-world-versii-deluxe-i-standart-edition/

  21. CharlesVex
    /回复

    “I haven’t seen you in these parts,” the barkeep said, sidling over and above to where I sat. “Personage’s Bao.” He stated it exuberantly, as if low-down of his exploits were shared aside settlers around multifarious a firing in Aeternum. He waved to a wooden keg upset us, and I returned his gesture with a nod. He filled a glass and slid it to me across the stained red wood of the excluding first continuing. “As a betting man, I’d be delighted to wager a adequate portion of invent you’re in Ebonscale Reach for the purpose more than the wet one's whistle and sights,” he said, eyes glancing from the sword sheathed on my cool to the bend slung across my back. https://maps.google.gg/url?q=https://renewworld.ru/new-world-kak-popast-na-alfa-i-beta-testy/

评论