Skip to content

Add test for PUT&POST /v2/bot/audienceGroup/upload/byFile#463

Merged
Yang-33 merged 2 commits intoline:masterfrom
Yang-33:test-multipart-upload
Apr 7, 2025
Merged

Add test for PUT&POST /v2/bot/audienceGroup/upload/byFile#463
Yang-33 merged 2 commits intoline:masterfrom
Yang-33:test-multipart-upload

Conversation

@Yang-33
Copy link
Copy Markdown
Contributor

@Yang-33 Yang-33 commented Apr 4, 2025

About PUT&POST /v2/bot/audienceGroup/upload/byFile,
the value for content-type header must be multipart/form-data, and content-type for the file within the http request's body must be text/plain. This change adds a test for that.
It's somewhat rough, but I don't think this will cause a regression, so I believe this test is sufficient.

NO-ISSUE Test that doesn't pass

NO-ISSUE format

NO-ISSUE fix
@Yang-33 Yang-33 self-assigned this Apr 4, 2025
@Yang-33 Yang-33 requested a review from a team April 4, 2025 06:32
@Yang-33 Yang-33 enabled auto-merge April 7, 2025 04:22
@Yang-33 Yang-33 added this pull request to the merge queue Apr 7, 2025
Merged via the queue into line:master with commit f8311d7 Apr 7, 2025
6 checks passed
@Yang-33 Yang-33 deleted the test-multipart-upload branch April 7, 2025 23:22
@Yang-33
Copy link
Copy Markdown
Contributor Author

Yang-33 commented Apr 8, 2025

#365

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants