Skip to content

docs: fix deprecated or broken examples in urllib.request documentation. #130374

@Mr-Sunglasses

Description

@Mr-Sunglasses

Documentation

ref. https://docs.python.org/3/library/urllib.request.html#examples

There are many example in urllib.request documentation that need to be updated as they no longer works as expected.

In the following example, we are sending a data-stream to the stdin of a CGI and reading the data it returns to us. Note that this example will only work when the Python installation supports SSL.

Use of Basic HTTP Authentication:

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions