Fasthttp: What is the best way to read headers ?

Created on 25 Feb 2016  路  3Comments  路  Source: valyala/fasthttp

The only way I found is to get use RequestCtx.Header.String() and to parse them, but I think it would be easier to provide a function for this, no ? Or perhaps, I missed it.

question

Most helpful comment

See the following RequestHeader methods:

There are a lot of other useful RequestHeader methods too.

All 3 comments

See the following RequestHeader methods:

There are a lot of other useful RequestHeader methods too.

Closing the issue. Feel free re-opening it if you have related questions

Thanks !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mengzhuo picture mengzhuo  路  6Comments

imgurbot12 picture imgurbot12  路  5Comments

unisqu picture unisqu  路  4Comments

ohenepee picture ohenepee  路  4Comments

LeMoussel picture LeMoussel  路  3Comments