Beginnings of test-suite added.
authoralex <alex>
Wed, 13 Dec 2000 07:28:42 +0000 (07:28 +0000)
committeralex <alex>
Wed, 13 Dec 2000 07:28:42 +0000 (07:28 +0000)
commit802764bbc006b3eea86131b798b288d367b8ebc5
tree3ff0f9ab280fe5ee760a03cf9041d2e91f218156
parent5444286ae10582bf6d7d1f41c40873361c368b64
Beginnings of test-suite added.

* Beginnings of test-suite added.

* Made SoupContext opaque. Removed SoupContextPrivate. Added soup_context_get_uri() to get the uri string for a given context.

* Added a response_headers hashtable to SoupRequest so the callback can do whatever it wants with passed headers. All entries in this hashtable are just parsed strings from req->priv->recv_buf, so no new strings are allocated.

* Renamed custom_headers to request_headers

* Fixed context creation logic

* Made soup_servers hashtable use case insensitive hostname matching.

* Removed SOUP_ERROR_URI_NOT_FOUND, SOUP_ERROR_URI_NOT_PERMITTED, and SOUP_ERROR_URI_OBJECT_MOVED from SoupCallbackResult enum. Its up to the application to figure out all the different HTTP states. This may change however.

* Added querystring to SoupUri, so that contexts can be cached based only on path.

* Added default port logic to SoupUri. Known protocols are https (port 443), http (80), smtp/mailto (25), and ftp (20).
Makefile.am
configure.in
libsoup/soup-context.c
libsoup/soup-context.h
libsoup/soup-misc.c
libsoup/soup-private.h
libsoup/soup-queue.c
libsoup/soup-queue.h
libsoup/soup-uri.c
libsoup/soup-uri.h