From 1540e984279d25e5a83894216c3610990528b95c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 17 Apr 2019 22:41:20 +0300 Subject: Add override options to bdep-ci Namely the options are: --override, --overrides-file, --builds and --build-email. --- bdep/http-service.hxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'bdep/http-service.hxx') diff --git a/bdep/http-service.hxx b/bdep/http-service.hxx index 75fd603..b4eb4f2 100644 --- a/bdep/http-service.hxx +++ b/bdep/http-service.hxx @@ -5,7 +5,7 @@ #ifndef BDEP_HTTP_SERVICE_HXX #define BDEP_HTTP_SERVICE_HXX -#include +#include #include #include @@ -16,11 +16,12 @@ namespace bdep { namespace http_service { - // If type is file, then the value is a path to be uploaded. + // If type is file, then the value is a path to be uploaded. If type is + // file_text, then the value is a file content to be uploaded. // struct parameter { - enum {text, file} type; + enum {text, file, file_text} type; string name; string value; }; @@ -40,6 +41,8 @@ namespace bdep // POST method. Use the multipart/form-data content type if any files are // uploaded and application/x-www-form-urlencoded otherwise. // + // Note: currently only one file_text parameter can be specified. + // // On success, return the response manifest message and reference (if // present, see below) and the rest of the manifest values, if any. Issue // diagnostics and fail if anything goes wrong or the response manifest -- cgit v1.1