diff options
author | snowdrop | 2003-12-16 13:16:11 +0000 |
---|---|---|
committer | snowdrop | 2003-12-16 13:16:11 +0000 |
commit | 15c050ac3a39c9022268aa72770dc94956088615 (patch) | |
tree | 7c77d7bbebba8a84cab4f56827f5d9e64d908c4d /nanohttp/nanohttp-common.h | |
parent | 39ad0f75f24d87e0e76d58b0f2da0b07b9a21ca7 (diff) | |
download | csoap-15c050ac3a39c9022268aa72770dc94956088615.tar.gz csoap-15c050ac3a39c9022268aa72770dc94956088615.tar.bz2 |
added chunked transfer encoding
Diffstat (limited to 'nanohttp/nanohttp-common.h')
-rw-r--r-- | nanohttp/nanohttp-common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-common.h b/nanohttp/nanohttp-common.h index d3bb702..65e8167 100644 --- a/nanohttp/nanohttp-common.h +++ b/nanohttp/nanohttp-common.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-common.h,v 1.1 2003/12/11 14:51:04 snowdrop Exp $ + * $Id: nanohttp-common.h,v 1.2 2003/12/16 13:16:14 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -27,6 +27,7 @@ #define HEADER_CONTENT_LENGTH "Content-Length" #define HEADER_CONTENT_TYPE "Content-Type" +#define HEADER_TRANSFER_ENCODING "Transfer-Encoding" #define HEADER_HOST "Host" #define HEADER_DATE "Date" @@ -50,7 +51,7 @@ struct hpair hpair_t *hpairnode_new(const char* key, const char* value, hpair_t* next); void hpairnode_free(hpair_t *pair); - +char *hpairnode_get(hpair_t *pair, const char* key); typedef enum hreq_method |