1 /* 2 * HTTP for WPS 3 * Copyright (c) 2000-2003 Intel Corporation 4 * Copyright (c) 2006-2007 Sony Corporation 5 * Copyright (c) 2008-2009 Atheros Communications 6 * Copyright (c) 2009, Jouni Malinen <j (at) w1.fi> 7 * 8 * See wps_upnp.c for more details on licensing and code history. 9 */ 10 11 #ifndef HTTP_H 12 #define HTTP_H 13 14 enum http_reply_code { 15 HTTP_OK = 200, 16 HTTP_BAD_REQUEST = 400, 17 UPNP_INVALID_ACTION = 401, 18 UPNP_INVALID_ARGS = 402, 19 HTTP_NOT_FOUND = 404, 20 HTTP_PRECONDITION_FAILED = 412, 21 HTTP_INTERNAL_SERVER_ERROR = 500, 22 HTTP_UNIMPLEMENTED = 501, 23 UPNP_ACTION_FAILED = 501, 24 UPNP_ARG_VALUE_INVALID = 600, 25 UPNP_ARG_VALUE_OUT_OF_RANGE = 601, 26 UPNP_OUT_OF_MEMORY = 603 27 }; 28 29 #endif /* HTTP_H */ 30