module Netcgi_types:sig
..end
class type simple_message = Netmime.mime_body
typestore =
[ `File of string | `Memory ]
Embedded in the single place of use.
typerepresentation =
[ `MIME of Netmime.mime_message
| `Simple of simple_message ]
Embedded in the single place of use.
class type cgi_argument =object
..end
Portage: In addition to defining a type, the following
cgi_argument
also defines a conversion function that allows to
connect old scripts to the new infrastructure.
val to_compat_argument : Netcgi.cgi_argument -> cgi_argument
Portage: to_compat_argument a
converts a new style argument
a
to an old style one. Finalizing to_compat_argument a
will also
finalize a
.
val of_compat_argument : cgi_argument -> Netcgi.cgi_argument
Portage: of_compat_argument a
converts an old style argument
a
to a new style one. Finalizing of_compat_argument a
will also
finalize a
.
Nethttp.netscape_cookie
= {
=
|
: |
|
: |
|
: |
|
: |
|
: |
|
: |
typestatus =
Nethttp.http_status
typerequest_method =
[ `DELETE
| `GET
| `HEAD
| `POST
| `PUT of cgi_argument ]
typecache_control =
[ `Max_age of int | `No_cache | `Unspecified ]
typequery_string_spec =
[ `Args of cgi_argument list
| `Current
| `Initial
| `None ]
typeother_url_spec =
[ `Env | `None | `This of string ]
class type cgi_activation =object
..end
Portage: In addition to defining a type, the following
cgi_activation
also defines a conversion function that allows
to connect old scripts to the new infrastructure.
val to_compat_activation : Netcgi.cgi -> cgi_activation
Portage: to_compat_activation
converts a new style
cgi object to an old cgi_activation object.
val of_compat_activation : cgi_activation -> Netcgi.cgi
Portage: of_compat_activation
converts an old style
cgi_activation to a new CGI-like object.