HTTP upload file
Uploads file to HTTP endpoint
Error Enum explanation
Error | Description |
---|---|
CONNECTION | Cannot connect to the HTTP endpoint |
HTTP_STATUS | HTTP response status code is not within range |
TIMEOUT | HTTP request did complete in the given time |
INVALID_RESPONSE | HTTP response was not valid |
REDIRECT | HTTP request was redirected too many times |
BAD_REQUEST_HEADER | HTTP request header contains invalid characters |
FILE_NOT_FOUND | File not found |
IS_DIRECTORY | Path where the downloaded should be saved is a directory |
PERMISSION_DENIED | Permissions block reading |
UNKNOWN | Unknown error |
Header’s Name maximum length allowed is 40
Header’s Value maximum length allowed is 1,000