Purpose
Retrieves the header of a response from the remote server.
The return value is the value of the header.
Syntax
HTTP.ReplyHeader ("Header")
Header |
A string representing the header to be retrieved. |
Example
Dim WebService as HTTP
WebService.SendBody = "Hello World"
WebService.Timeout = 5
WebService.SendContentType = "application/octet-stream"
WebService.UseChunking = FALSE
WebService.Put("127.0.0.1")
Debug "Return code from HTTP server is " & WebService.Error
Debug "Reply is:" & fcCR & WebService.ReplyBody
Debug "X-SPECIAL header is " & WebService.ReplyHeader("X-SPECIAL")
|