valyala/fasthttp

Add more functions to ease use of trailing headers

Open

#1 401 ouverte le 20 oct. 2022

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Go (1 755 forks)batch import
feature requesthelp wanted

Métriques du dépôt

Stars
 (21 741 stars)
Métriques de merge PR
 (Merge moyen 1j 11h) (34 PRs mergées en 30 j)

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

Guide contributeur