From d45b4bc26f330d2ce29e4a06ffdae74d82e8b43b Mon Sep 17 00:00:00 2001 From: snowdrop Date: Sat, 18 Feb 2006 20:14:35 +0000 Subject: added basic authentication and SOAP-Header capabilities for request objects Thanks to Heiko Ronsdorf --- nanohttp/nanohttp-common.h | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'nanohttp/nanohttp-common.h') diff --git a/nanohttp/nanohttp-common.h b/nanohttp/nanohttp-common.h index 607fc2b..d982d51 100644 --- a/nanohttp/nanohttp-common.h +++ b/nanohttp/nanohttp-common.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-common.h,v 1.24 2006/01/18 16:28:24 mrcsys Exp $ + * $Id: nanohttp-common.h,v 1.25 2006/02/18 20:14:36 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -39,6 +39,8 @@ #define HEADER_DATE "Date" #define HEADER_ACCEPT "Accept" +#define HEADER_AUTHORIZATION "Authorization" +#define HEADER_WWW_AUTHENTICATE "WWW-Authenticate" #define NHTTPD_ARG_PORT "-NHTTPport" #define NHTTPD_ARG_TERMSIG "-NHTTPtsig" @@ -189,15 +191,6 @@ char *herror_func(herror_t err); char *herror_message(herror_t err); void herror_release(herror_t err); - -/* - string function to compare strings ignoring case - Returns 1 if s1 equals s2 and 0 otherwise. - */ -int strcmpigcase(const char *s1, const char *s2); - - - /* hpairnode_t represents a pair (key, value) pair. This is also a linked list. -- cgit v1.1-32-gdbae