valyala/fasthttp

Add more functions to ease use of trailing headers

Aberta

#1.401 aberto em 20 de out. de 2022

 (0 comentário) (0 reação) (0 responsável)Go (1.755 forks)batch import
feature requesthelp wanted

Métricas do repositório

Stars
 (21.741 estrelas)
Métricas de merge de PR
 (Mesclagem média 3d) (44 fundiu PRs em 30d)

Description

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

Guia do colaborador