summaryrefslogtreecommitdiff
path: root/libsoup/soup-status.c
diff options
context:
space:
mode:
authorMark Doffman <mark.doffman@codethink.co.uk>2014-04-01 20:02:03 +0000
committerMark Doffman <mark.doffman@codethink.co.uk>2014-04-01 20:02:03 +0000
commitce764489e358bad6b49418f5c8bc7b25a4b1815e (patch)
treebdf7d009702adc91e63d261f7d924d9e5bf94cff /libsoup/soup-status.c
parent0d45677b0a20270735e4d18e969a4991a4e67078 (diff)
parent6c14af04775a9de4dfa3fa0cc15a7ad0462ef3d9 (diff)
downloadlibsoup-ce764489e358bad6b49418f5c8bc7b25a4b1815e.tar.gz
Merge tag '2.46.0' into baserock/morphbaserock/morph
2.46.0
Diffstat (limited to 'libsoup/soup-status.c')
-rw-r--r--libsoup/soup-status.c15
1 files changed, 11 insertions, 4 deletions
diff --git a/libsoup/soup-status.c b/libsoup/soup-status.c
index 7b048a80..6dbb9edb 100644
--- a/libsoup/soup-status.c
+++ b/libsoup/soup-status.c
@@ -68,7 +68,7 @@
**/
/**
- * SoupKnownStatusCode:
+ * SoupStatus:
* @SOUP_STATUS_NONE: No status available. (Eg, the message has not
* been sent yet)
* @SOUP_STATUS_CANCELLED: Message was cancelled locally
@@ -150,14 +150,21 @@
*
* These represent the known HTTP status code values, plus various
* network and internal errors.
+ *
+ * Note that no libsoup functions take or return this type directly;
+ * any function that works with status codes will accept unrecognized
+ * status codes as well.
+ *
+ * Prior to 2.44 this type was called
+ * <literal>SoupKnownStatusCode</literal>, but the individual values
+ * have always had the names they have now.
**/
/**
* SOUP_HTTP_ERROR:
*
- * A #GError domain representing an HTTP status. Use a
- * #SoupKnownStatusCode for the <structfield>code</structfield>
- * value.
+ * A #GError domain representing an HTTP status. Use a #SoupStatus for
+ * the <structfield>code</structfield> value.
**/