Skip to content
New issue

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

SimpleHTTPServer does not support POST #7

Open
Heliosmaster opened this issue Mar 28, 2014 · 0 comments
Open

SimpleHTTPServer does not support POST #7

Heliosmaster opened this issue Mar 28, 2014 · 0 comments

Comments

@Heliosmaster
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant