Changeset 2095
- Timestamp:
- 02/26/2008 07:14:14 PM (5 months ago)
- Files:
-
- branches/lighttpd-1.4.x/src/response.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/lighttpd-1.4.x/src/response.c
r2093 r2095 649 649 /* if we are still here, no one wanted the file, status 403 is ok I think */ 650 650 651 if (con->mode == DIRECT) { 652 con->http_status = 403; 651 if (con->mode == DIRECT && con->http_status == 0) { 652 switch (con->request.http_method) { 653 case HTTP_METHOD_OPTIONS: 654 con->http_status = 200; 655 break; 656 default: 657 con->http_status = 403; 658 } 653 659 654 660 return HANDLER_FINISHED;

