Skip to content

SimpleHTTPServer does not support POST #7

Open
@Heliosmaster

Description

@Heliosmaster

In the section "Adding new comments" we start laying down the structure and the code required to add new comments to the json file though POST requests, and yet the Python module SimpleHTTPServer does not implement POST: in the doc you can see that only do_GET and do_HEAD are implemented.

A solution is to use a custom HTTP server which implements also POST, such as in http://sheep.art.pl/Wiki%20Engine%20in%20Python%20from%20Scratch

or maybe update the tutorial to reflect the implementation in this repository, with node.js.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions