check url scheme

This commit is contained in:
Chunting Gu
2021-06-22 10:16:58 +08:00
parent 26bb6b341a
commit 326a3ea215
4 changed files with 70 additions and 10 deletions
+3
View File
@@ -101,6 +101,9 @@ public:
private:
void InitHeaders();
// Check if the scheme of the request is valid.
bool CheckUrlScheme(RequestPtr request);
ResponsePtr DoSend(RequestPtr request, bool stream,
ProgressCallback callback);