Skip to content
This repository was archived by the owner on May 27, 2026. It is now read-only.

Force patched responseData to a string#195

Open
cwisecarver wants to merge 1 commit into
browserstack:masterfrom
cwisecarver:bugfix/force-response-toString
Open

Force patched responseData to a string#195
cwisecarver wants to merge 1 commit into
browserstack:masterfrom
cwisecarver:bugfix/force-response-toString

Conversation

@cwisecarver
Copy link
Copy Markdown
Contributor

When using test_server the response from the server is not forced to a string so the data.replace fails. This PR follows the existing pattern and forces the Buffer instance to a string before doing the patch.

@JakeChampion
Copy link
Copy Markdown

@raghuhit, could this be merged in to master and released onto npm?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants