Project

General

Profile

Bug #1396 ยป connections.patch

patch for connections.c - HenrikHolst, 2007-10-02 08:43

View differences:

connections.c 2007-10-02 10:29:24.791176462 +0200
207 207
			 * 403 is from the response handler when noone else catched it
208 208
			 *
209 209
			 * */
210

  
211
			/* If authorization is required we cannot send a 200 response! */
212
			if (con->http_status == 401)
213
			    break;
214

  
210 215
			if (con->uri.path->used &&
211 216
			    con->uri.path->ptr[0] != '*') {
212 217
				response_header_insert(srv, con, CONST_STR_LEN("Allow"), CONST_STR_LEN("OPTIONS, GET, HEAD, POST"));
    (1-1/1)