We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pulp file content upload
SSIA
pulp file content upload --relative-path "README.md" --file "README.md"
upload the file using the multipart encoding
$ pulp -vv file content upload --relative-path "README.md" --file "README.md" post http://pulp3-source-debian11/rerouted/djnd/api/v3/content/file/files/ User-Agent: Pulp-CLI/0.15.0.dev Accept-Encoding: gzip, deflate Accept: application/json Connection: keep-alive Content-Length: 441 Content-Type: application/x-www-form-urlencoded Authorization: Basic YWRtaW46cGFzc3dvcmQ= 'relative_path=README.md&file=%23+Pulp+command+line+interface%0A&file=%0A&file=This+is+a+command+line+interface+for+Pulp+3.%0A&file=%0A&file=This+software+is+in+beta+and+future+releases+may+include+backwards+incompatible+changes.%0A&file=%0A&file=Check+out+our+%5Bdocs%5D%28https%3A%2F%2Fdocs.pulpproject.org%2Fpulp_cli%2F%29+and+the+%5Bquickstart+guide%5D%28https%3A%2F%2Fdocs.pulpproject.org%2Fpulp_cli%2Fquickstart%2F%29+to+get+started.%0A' Antwort: 400 Error: {"file":["The submitted data was not a file. Check the encoding type on the form."]}
0.15.0.dev0
One can circumvent the issue by specifying an absurd small batch size.
The text was updated successfully, but these errors were encountered:
Fix small file upload
5ab9cca
fixes pulp#535
56cd87a
8273790
21a92f5
caee395
fixes #535
Successfully merging a pull request may close this issue.
Summary
SSIA
Steps to reproduce
pulp file content upload --relative-path "README.md" --file "README.md"
Expected behavior
upload the file using the multipart encoding
Stacktrace/Error log
Pulp and pulp-cli version info
0.15.0.dev0
Additonal context
One can circumvent the issue by specifying an absurd small batch size.
The text was updated successfully, but these errors were encountered: