Update documentation to include HTTP API changes

This commit is contained in:
SquidDev 2017-05-01 18:05:04 +01:00
parent f2596a8547
commit ae04070915
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
New Features in ComputerCraft 1.80:
* Added .getResponseHeaders() to HTTP responses.
* Return a HTTP response when a HTTP error occurs.
New Features in ComputerCraft 1.79:
* Ported ComputerCraftEdu to Minecraft 1.8.9

View File

@ -5,4 +5,4 @@ http.get( url, [headers] )
http.post( url, postData, [headers] )
The HTTP API may be disabled in ComputerCraft.cfg
A period of time after a http.request() call is made, a "http_success" or "http_failure" event will be raised. Arguments are the url and a file handle if successful. http.get() and http.post() block until this event fires instead.
A period of time after a http.request() call is made, a "http_success" or "http_failure" event will be raised. Arguments are the url and a file handle if successful. Arguments are nil, an error message, and (optionally) a file handle if the request failed. http.get() and http.post() block until this event fires instead.

View File

@ -1,6 +1,6 @@
New Features in ComputerCraft 1.79:
New Features in ComputerCraft 1.80:
* Ported ComputerCraftEdu to Minecraft 1.8.9
* Fixed a handful of bugs in ComputerCraft
* Added .getResponseHeaders() to HTTP responses.
* Return a HTTP response when a HTTP error occurs.
Type "help changelog" to see the full version history.