summaryrefslogtreecommitdiffstats
path: root/Source/cmCTest.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmCTest.h')
-rw-r--r--Source/cmCTest.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmCTest.h b/Source/cmCTest.h
index 2b7912c..8621b10 100644
--- a/Source/cmCTest.h
+++ b/Source/cmCTest.h
@@ -83,7 +83,8 @@ public:
#ifdef CMAKE_BUILD_WITH_CMAKE
enum HTTPMethod {
HTTP_GET,
- HTTP_POST
+ HTTP_POST,
+ HTTP_PUT
};
/**
@@ -91,7 +92,8 @@ public:
*/
static int HTTPRequest(std::string url, HTTPMethod method,
std::string& response,
- std::string fields = "", int timeout = 10);
+ std::string fields = "",
+ std::string putFile = "", int timeout = 0);
#endif
/** Get a testing part id from its string name. Returns PartCount