diff --git a/src/main/resources/assets/computercraft/lua/rom/help/changelog b/src/main/resources/assets/computercraft/lua/rom/help/changelog index ac4d31afa..fc7deb024 100644 --- a/src/main/resources/assets/computercraft/lua/rom/help/changelog +++ b/src/main/resources/assets/computercraft/lua/rom/help/changelog @@ -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 diff --git a/src/main/resources/assets/computercraft/lua/rom/help/http b/src/main/resources/assets/computercraft/lua/rom/help/http index 336496e26..12cba33dd 100644 --- a/src/main/resources/assets/computercraft/lua/rom/help/http +++ b/src/main/resources/assets/computercraft/lua/rom/help/http @@ -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. diff --git a/src/main/resources/assets/computercraft/lua/rom/help/whatsnew b/src/main/resources/assets/computercraft/lua/rom/help/whatsnew index f2bc57854..c39e2ef99 100644 --- a/src/main/resources/assets/computercraft/lua/rom/help/whatsnew +++ b/src/main/resources/assets/computercraft/lua/rom/help/whatsnew @@ -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.