◐ Shell
clean mode source ↗

URL for tutorial urlopen example ~is dead~ doesn't want to go on the cart

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@bkline

Description

Documentation

The first endpoint used by the tutorial to demonstrate urlopen() is dead. Attempts to connect to it raise a ConnectionResetError exception.

I can imagine at least three reasonable replacements.

  1. Connect to https://example.org and print the decoded response.
  2. Connect to https://httpbin.org/get and print the decoded response.
  3. Connect to https://www.python.org and print the first 300 characters of the decoded response.

If I get any indication that it would be considered (ideally with an indication of which of these options would be preferred), I'd be happy to put together a PR.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    No fields configured for issues without a type.

    Projects

    Status

    Todo

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions