HTTP handles
|
|||||||||||
Returns the numerical HTTP response code sent by the server. | |||||||||||
Syntax | handle.getResponseCode() | ||||||||||
Returns | number code string status | ||||||||||
Part of | CC:Tweaked (source) | ||||||||||
API | http | ||||||||||
|
|
|||||||||||
Returns a table containing the response’s headers, in a format similar to that required by http.request. If multiple headers are sent with the same name, they will be combined with a comma. | |||||||||||
Syntax | handle.getResponseHeaders() | ||||||||||
Returns | table headers | ||||||||||
Part of | CC:Tweaked (source) | ||||||||||
API | http | ||||||||||
|
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.