Fasthttp: Cors support

Created on 9 Jun 2016  路  6Comments  路  Source: valyala/fasthttp

I wonder if anyone has been able to get Cors working with fasthttp or if there's a module for it (although I couldn't find one).

question

Most helpful comment

If anyone is looking for a well tested and pure fasthttp middleware, there's lab259/cors (which is a fork of rs/cors targetting fasthttp).

All 6 comments

There is one middleware for Echo v2:
Echo Cors

And another one for Iris:
Iris Cors

They are pretty similar to https://github.com/rs/cors

@hexadecy Good to know: Iris' cors is rs/cors for fasthttp as noted in the first line

Added question label to the issue, so it could be located via the link in the last FAQ entry on README.md.

Closing the issue, since there are no plans for adding Cors support directly into fasthttp.

If anyone is looking for a well tested and pure fasthttp middleware, there's lab259/cors (which is a fork of rs/cors targetting fasthttp).

If anyone is looking for a well tested and pure fasthttp middleware, there's lab259/cors (which is a fork of rs/cors targetting fasthttp).

cool, I like it.

Was this page helpful?
0 / 5 - 0 ratings