erikdubbelboer / fasthttp

This fork has been deprecated!
MIT License
50 stars 12 forks source link

Fixed problem with User-Agent header value. Added UA test in client #13

Closed dgrr closed 6 years ago

dgrr commented 6 years ago

The first commit (User-Agent commit) solves a problem that prevent user to use custom user agent. It solves deleting bad positioned user agent checking.

At the second commit isGet bool var of Client and HostClient structure have been deleted and I quote: When client has two http request the first is GET and the second is POST it causes an error. The only solution is reset the request structure. With this commit I try to solve this error

erikdubbelboer commented 6 years ago

Can you maybe explain why you make these changes and what they do?

dgrr commented 6 years ago

@erikdubbelboer done

erikdubbelboer commented 6 years ago

Looks good. Thanks.