levigross / grequests

A Go "clone" of the great and famous Requests library
Apache License 2.0
2.14k stars 138 forks source link

fasthttp instead of net/http #39

Open iMaxopoly opened 8 years ago

iMaxopoly commented 8 years ago

Hi, this is a question.

I wanted to ask if it's possible to use fasthttp instead of net/http. From what I read it is significantly more performant:

Refer: https://medium.com/@valyala/net-http-client-has-the-following-additional-limitations-318ac870ce9d#.502tduhmn

Refer: https://medium.com/@nate510/don-t-use-go-s-default-http-client-4804cb19f779#.pla7aw7gz

Thanks for your package, been using it daily at work.

levigross commented 8 years ago

I will look into doing this. Thank you for using this library and sending in suggestions

ghost commented 6 years ago

fasthttp don't support custom header settings.