version 2.53, 1997/11/26 16:05:39
|
version 2.54, 1998/03/05 21:56:22
|
Line 354 or enabled using bit flags that are defi
|
Line 354 or enabled using bit flags that are defi
|
There are a few header fields which have general applicability for both request |
There are a few header fields which have general applicability for both request |
and response mesages, but which do not apply to the communication parties |
and response mesages, but which do not apply to the communication parties |
or theentity being transferred. This mask enables and disables these headers. |
or theentity being transferred. This mask enables and disables these headers. |
If the bit is not turned on they are not sent. All headers are optional and |
If the bit is not turned on they are not sent. |
the default value is <EM>NO GENERAL HEADERS</EM> |
|
<PRE> |
<PRE> |
typedef enum _HTGnHd { |
typedef enum _HTGnHd { |
HT_G_CC = 0x1, |
HT_G_CC = 0x1, |
Line 365 typedef enum _HTGnHd {
|
Line 364 typedef enum _HTGnHd {
|
HT_G_FORWARDED = 0x10, |
HT_G_FORWARDED = 0x10, |
HT_G_MESSAGE_ID = 0x20, |
HT_G_MESSAGE_ID = 0x20, |
HT_G_MIME = 0x40, |
HT_G_MIME = 0x40, |
HT_G_TRAILER = 0x80 |
HT_G_TRAILER = 0x80, |
|
HT_G_TRANSFER = 0x100 |
} HTGnHd; |
} HTGnHd; |
|
|
#define DEFAULT_GENERAL_HEADERS HT_G_CONNECTION + HT_G_CC |
#define DEFAULT_GENERAL_HEADERS \ |
|
HT_G_CONNECTION + HT_G_CC + HT_G_TRANSFER + HT_G_TRAILER |
|
|
extern void HTRequest_setGnHd (HTRequest *request, HTGnHd gnhd); |
extern void HTRequest_setGnHd (HTRequest *request, HTGnHd gnhd); |
extern void HTRequest_addGnHd (HTRequest *request, HTGnHd gnhd); |
extern void HTRequest_addGnHd (HTRequest *request, HTGnHd gnhd); |