]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Add Cookie, Expect, and Set-Cookie to HTTP request structure.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Sun, 30 Dec 2001 22:06:51 +0000 (22:06 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Sun, 30 Dec 2001 22:06:51 +0000 (22:06 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/branches/branch-1.2@2004 7a7537e8-13f0-0310-91df-b6672ffda945

CHANGES.txt
cups/http.c
cups/http.h

index a5bebd7739f3b3c23f39592daddca2fdb0c4cda2..696eb83fd5f18b92eac93e625d8ea3ebd1719763 100644 (file)
@@ -1,4 +1,4 @@
-CHANGES.txt - 12/29/2001
+CHANGES.txt - 12/30/2001
 ------------------------
 
 CHANGES IN CUPS V1.2.0a1
@@ -9,3 +9,5 @@ CHANGES IN CUPS V1.2.0a1
          distribution; these are now available as part of ESP
          Ghostscript, or by patching GNU Ghostscript using the
          patches in the pstoraster directory.
+       - Added Cookie, Expect, and Set-Cookie fields to HTTP
+         request structure.
index 0163740653fb8b188f7fb5874fb501ba5f7e7a4a..0912e1f5420a84d90e1a57e67069a43669102291 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: http.c,v 1.82.2.4 2001/12/26 17:22:18 mike Exp $"
+ * "$Id: http.c,v 1.82.2.5 2001/12/30 22:06:51 mike Exp $"
  *
  *   HTTP routines for the Common UNIX Printing System (CUPS).
  *
@@ -130,7 +130,9 @@ static const char   *http_fields[] =
                          "Content-Range",
                          "Content-Type",
                          "Content-Version",
+                         "Cookie",
                          "Date",
+                         "Expect",
                          "Host",
                          "If-Modified-Since",
                          "If-Unmodified-since",
@@ -141,6 +143,7 @@ static const char   *http_fields[] =
                          "Range",
                          "Referer",
                          "Retry-After",
+                         "Set-Cookie",
                          "Transfer-Encoding",
                          "Upgrade",
                          "User-Agent",
@@ -2191,5 +2194,5 @@ http_upgrade(http_t *http)        /* I - HTTP data */
 
 
 /*
- * End of "$Id: http.c,v 1.82.2.4 2001/12/26 17:22:18 mike Exp $".
+ * End of "$Id: http.c,v 1.82.2.5 2001/12/30 22:06:51 mike Exp $".
  */
index 32f90d8af02a8da0033c96b8f1d571b3d770a246..7b87b8caf55edfdc05c498f6e3d5958b9e39ab44 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: http.h,v 1.33.2.3 2001/12/26 16:52:12 mike Exp $"
+ * "$Id: http.h,v 1.33.2.4 2001/12/30 22:06:51 mike Exp $"
  *
  *   Hyper-Text Transport Protocol definitions for the Common UNIX Printing
  *   System (CUPS).
@@ -226,7 +226,9 @@ typedef enum
   HTTP_FIELD_CONTENT_RANGE,
   HTTP_FIELD_CONTENT_TYPE,
   HTTP_FIELD_CONTENT_VERSION,
+  HTTP_FIELD_COOKIE,
   HTTP_FIELD_DATE,
+  HTTP_FIELD_EXPECT,
   HTTP_FIELD_HOST,
   HTTP_FIELD_IF_MODIFIED_SINCE,
   HTTP_FIELD_IF_UNMODIFIED_SINCE,
@@ -237,6 +239,7 @@ typedef enum
   HTTP_FIELD_RANGE,
   HTTP_FIELD_REFERER,
   HTTP_FIELD_RETRY_AFTER,
+  HTTP_FIELD_SET_COOKIE,
   HTTP_FIELD_TRANSFER_ENCODING,
   HTTP_FIELD_UPGRADE,
   HTTP_FIELD_USER_AGENT,
@@ -365,5 +368,5 @@ extern char         *httpAddrString(const http_addr_t *addr,
 #endif /* !_CUPS_HTTP_H_ */
 
 /*
- * End of "$Id: http.h,v 1.33.2.3 2001/12/26 16:52:12 mike Exp $".
+ * End of "$Id: http.h,v 1.33.2.4 2001/12/30 22:06:51 mike Exp $".
  */