Skip to content
New issue

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

Fix build_mock_url() for requests with multipart body with string and raw values #40

Merged
merged 7 commits into from
Jun 19, 2024

Conversation

jmaspons
Copy link
Contributor

FIX #39

Copy link
Owner

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this.

R/build-mock-url.R Outdated Show resolved Hide resolved
R/build-mock-url.R Outdated Show resolved Hide resolved
Co-authored-by: Neal Richardson <[email protected]>
@jmaspons
Copy link
Contributor Author

I'm adding tests for the raw data case. For the failing R-CMD-check in windows due to #42, I would add a skip_on_os("windows")

@jmaspons jmaspons requested a review from nealrichardson June 17, 2024 17:44
Copy link
Owner

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for taking another pass at this. A couple of suggestions to hopefully solve the Windows issue (for this PR; we'll have to look again at #42) and finish this up.

tests/testthat/test-capture-requests.R Outdated Show resolved Hide resolved
R/build-mock-url.R Show resolved Hide resolved
@jmaspons jmaspons requested a review from nealrichardson June 18, 2024 19:53
Copy link
Owner

@nealrichardson nealrichardson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for doing this!

@nealrichardson nealrichardson changed the title Fix build_mock_url() for requests with multipart body with string values Fix build_mock_url() for requests with multipart body with string and raw values Jun 19, 2024
@nealrichardson nealrichardson merged commit 5b381b9 into nealrichardson:main Jun 19, 2024
10 checks passed
@jmaspons jmaspons deleted the fix_multipart_body branch June 19, 2024 13:11
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.

Requests with multipart body containing character values fail
2 participants