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
Get an empty body or zero length body
Get the actual body
https://runkit.com/embed/tyzrkbthl3bs
The text was updated successfully, but these errors were encountered:
Related to #1234
Got 11 transform http://www.newsmth.net/rss.php?mPicture into http://www.newsmth.net/rss.php?mPicture= which body is empty
http://www.newsmth.net/rss.php?mPicture
http://www.newsmth.net/rss.php?mPicture=
Sorry, something went wrong.
As suggested by @cookch10 this is a temporary workaround
const url = new URL('http://www.newsmth.net/rss.php?mPicture'); const _search = url.search; Object.defineProperty(url, 'search', { get() { return _search; }, set() { } }); ;(async () => { const resp = await got.get(url); console.log(resp); })()
Duplicate of #1234
No branches or pull requests
Describe the bug
Actual behavior
Get an empty body or zero length body
Expected behavior
Get the actual body
Code to reproduce
https://runkit.com/embed/tyzrkbthl3bs
Checklist
The text was updated successfully, but these errors were encountered: