valyala/fasthttp

Add more functions to ease use of trailing headers

開放

#1,401 建立於 2022年10月20日

 (0 則留言) (0 個反應) (0 位負責人)Go (1,755 個分叉)batch import
feature requesthelp wanted

倉庫指標

星標
 (21,741 顆星)
PR 合併指標
 (平均合併 3天) (30 天內合併 44 個 PR)

描述

It is great that recent versions of fasthttp have trailer support, but it is more difficult and awkward to use. We should have minimal features like so:

  • PeekTrailer
  • PeekAllTrailer see #1394

It is tricky because SetTrailer isn't setting for a single value, rather all values. It would be nicer to have parity for apis to set/add and del, as well.

See https://github.com/mosn/pkg/issues/66

貢獻者指南