HttpObjectGetHeaders Full Description |
|
Syntaxdefine function HttpObjectGetHeaders read-only stream HttpObject into modifiable stream Headers Purpose This function returns the names and values of all headers defined for the HTTP request or response object. The values are returned as keyed items in a stream shelf. Input argument:
Output argument:
Example:
; HttpObjectGetHeaders local HttpRequest my-Request local HttpResponse my-Response local stream request-Headers local stream response-Headers HttpObjectGetHeaders my-Request into request-Headers HttpObjectGetHeaders my-Response into response-Headers repeat over request-Headers output "%g(request-Headers)%n" again repeat over response-Headers output "%g(response-Headers)%n" again |