Skip to content

Conversation

simonwhitaker
Copy link

The tutorial suggests using python -m SimpleHTTPServer to serve content, but subsequently introduces a mechanism for submitting comments via a POST request, which SimpleHTTPServer doesn't support. It appears that at this point the tutorial assumes you're using the sample Node.js server packaged with the tutorial's GitHub repo but that isn't explained.

This diff adds instructions on how to use the sample Node.js server.

Fixes reactjs/react-tutorial#1

The tutorial suggests using python -m SimpleHTTPServer to serve content, but subsequently introduces a mechanism for submitting comments via a POST request, which SimpleHTTPServer doesn't support. It appears that at this point the tutorial assumes you're using the sample Node.js server packaged with the tutorial's GitHub repo but that isn't explained.

This diff adds instructions on how to use the sample Node.js server.

Fixes reactjs/react-tutorial#1
@chenglou
Copy link
Contributor

chenglou commented Aug 6, 2014

👍

@zpao
Copy link
Member

zpao commented Jan 16, 2015

I'm going to take #2824 instead but I really do appreciate you taking the time to work on this. I'm sorry we let it sit here for so long!

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

Successfully merging this pull request may close these issues.

Tutorial uses POST with SimpleHTTPServer
4 participants