mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-04-04 09:46:58 +00:00
Update documentation to include HTTP API changes
This commit is contained in:
parent
f2596a8547
commit
ae04070915
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user