diff options
author | ArminBTVS <98586621+ArminBTVS@users.noreply.github.com> | 2022-01-31 15:02:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-31 22:02:58 +0800 |
commit | 8d7953eda77b3f5f42a4aa61e6eff1ea42815dfe (patch) | |
tree | 9886ae0e24edfedf6d9c44e9e05ce69a7bc47e54 /go.sum | |
parent | remove redundant code (#1202) (diff) | |
download | fasthttp-8d7953eda77b3f5f42a4aa61e6eff1ea42815dfe.tar.gz fasthttp-8d7953eda77b3f5f42a4aa61e6eff1ea42815dfe.tar.bz2 fasthttp-8d7953eda77b3f5f42a4aa61e6eff1ea42815dfe.zip |
Fix scheme check for not yet parsed requests (#1203)
* Fix scheme check for not yet parsed requests
At this point the request might not be parsed yet and set. In that case uri is empty and isHttps() returns always false. I don't expect this is intended?
Otherwise URL() must be called before actually passing the request to client.Do()
* Add test
* Please linter
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions