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
No 'Content-Lenght' header is created by the Swagger Client when binary content upload.
If the 'Content-Lenght' is defined in the swagger definition and provided in the request, the file upload succeeds.
Swagger/OpenAPI definition:
"requestBody": { "content": { "application/offset+octet-stream": { "schema": { "format": "binary", "type": "string" } } }, "description": "The file content (binary) to upload", "required": true },
Swagger-Client usage:
SwaggerClient({ // your config options here })
Steps to reproduce the behavior:
The file should be uploaded
The text was updated successfully, but these errors were encountered:
No branches or pull requests
No 'Content-Lenght' header is created by the Swagger Client when binary content upload.
If the 'Content-Lenght' is defined in the swagger definition and provided in the request, the file upload succeeds.
Q&A (please complete the following information)
Content & configuration
Swagger/OpenAPI definition:
Swagger-Client usage:
Describe the bug you're encountering
No 'Content-Lenght' header is created by the Swagger Client when binary content upload.
To reproduce...
Steps to reproduce the behavior:
Expected behavior
The file should be uploaded
Screenshots
Additional context or thoughts
If the 'Content-Lenght' is defined in the swagger definition and provided in the request, the file upload succeeds.
The text was updated successfully, but these errors were encountered: