| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To still optimize the headers handling we now follow an approach similar
to the WebKit one. We use gperf to generate a fast conversion from
commonly used name headers to an enum value. Headers are now stored in
two arrays, one for common headers where the enum value is used as the
name, and another one for uncommon headers where the name string is
stored duplicated and g_ascii_strcasecmp() is used for comparisons. Both
arrays are created on demand with preallocated space for 6 headers. This
changes a bit the order in which headers are iterated, because we
iterate the common headers first and then the uncommon ones.
Fixes #111
|
|
|
|
|
| |
And soup_message_headers_copy as soup_message_headers_ref that is now
public.
|
|
|
|
| |
We prefer spaces now instead of tabs.
|
|
|
|
| |
Use the body stream always for requests in client side.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
These functions extend the existing parameter-parsing functions
but differ in that they return NULL if there are any duplicated
parameters. It is noted in their documentation that they
are not recommended to parse header fields that might contain
RFC5987-encoded parameters.
Add tests for the parameter parsing methods that cover the
different cases, including RFC5789-encoded parameters.
|
|
Also rename some tests to be consistent with the names.
|