- public HashTable<unowned string,unowned string> decode (string encoded_form)
Decodes form
, which is an urlencoded dataset as defined in the
HTML 4.01 spec.
- public HashTable<unowned string,unowned string>? decode_multipart (Message msg, string? file_control_name, out string filename, out string content_type, out Buffer file)
Decodes the "multipart/form-data" request in msg
; this is a
convenience method for the case when you have a single file upload control in a form.
- public string encode (...)
Encodes the given field names and values into a value of type
"application/x-www-form-urlencoded", as defined in the HTML 4.01 spec.
- public string encode_datalist (Datalist<string> form_data_set)
Encodes form_data_set
into a value of type
"application/x-www-form-urlencoded", as defined in the HTML 4.01 spec.
- public string encode_hash (HashTable<string,string> form_data_set)
Encodes form_data_set
into a value of type
"application/x-www-form-urlencoded", as defined in the HTML 4.01 spec.
- public string encode_valist (string first_field, va_list args)
- public Message request_new (string method, string uri, ...)
Creates a new Message
and sets it up to send the given data to uri
via method
.
- public Message request_new_from_datalist (string method, string uri, Datalist<string> form_data_set)
Creates a new Message
and sets it up to send form_data_set
to uri
via method
, as with
request_new.
- public Message request_new_from_hash (string method, string uri, HashTable<string,string> form_data_set)
Creates a new Message
and sets it up to send form_data_set
to uri
via method
, as with
request_new.
- public Message request_new_from_multipart (string uri, Multipart multipart)
Creates a new Message
and sets it up to send multipart
to uri
via POST.