diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-17 22:41:20 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-04-26 20:29:46 +0300 |
commit | 1540e984279d25e5a83894216c3610990528b95c (patch) | |
tree | bf99a54444722c47e0c1429dfe18c7cca9069b0b /bdep/http-service.hxx | |
parent | bf02b66c61d941a60e45520ef77f677dad36557e (diff) |
Add override options to bdep-ci
Namely the options are: --override, --overrides-file, --builds and
--build-email.
Diffstat (limited to 'bdep/http-service.hxx')
-rw-r--r-- | bdep/http-service.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
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 <libbutl/manifest-parser.mxx> +#include <libbutl/manifest-types.mxx> #include <bdep/types.hxx> #include <bdep/utility.hxx> @@ -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 |