|
webserver.util.buildResponse
| Previous topic: |
Next topic: |
|
webserver.util.buildResponse |
topic started 10/24/1999; 3:16:31 PM last post 10/24/1999; 3:16:31 PM |
|
André Radke - webserver.util.buildResponse 
10/24/1999; 3:16:31 PM (reads: 13905, responses:
0) |
| Syntax |
webserver.util.buildResponse (code, adrHeaderTable=nil, responseBody=nil)
|
| Params |
code is the HTTP/1.1 result code to be used for the response.
adrHeaderTable, an optional parameter, is the address of a table containing additional response headers.
responseBody, an optional parameter, is the body to be returned as part of the response.
|
| Action |
Builds an HTTP response.
|
| Returns |
The HTTP response.
|
| Notes |
The response will have Connection, Date, Server, and possibly Content-Length headers plus any headers specified in the table pointed to by adrHeaderTable.
This verb is used internally by the webserver framework. It's called from webserver.dispatch and webserver.server.
|
| See Also |
webserver.dispatch
webserver.server
webserver.util.buildErrorPage
|
|
|
|
|
|
UserTalk online reference for Manila and Radio UserLand programmers
|
|
|