Skip to content

onlyworlds 0.132.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 19:12
· 134 commits to main since this release
  • ApiError.is_host_blocked: a write the host refused before the API saw it. The host in front of onlyworlds.com answers some writes with a 403 whose body is an HTML page titled "Blocked", not the API's JSON envelope: text that holds a shell command such as python -m, python -c, perl -e, or curl or wget with an address right after a backtick, a semicolon or a pipe. Such an error's message printed the first 300 bytes of the page until now. It now says the host refused the request and nothing was written, and how to write the command so it passes (a fenced code block whose first line names a language, or no backtick), in the npm SDK's words. code stays None, as it is no API code, and response.body keeps the page. Read on the page's title and on the body not being a JSON object or list, so the API's own 403s read as before.