mod_asis.c revision 2d4ea77e21ef7f3707d2c27f6117cc0a36e99b83
151b190e79e64824552e01849352ca8f6ac7dedbLennart Poettering/* Licensed to the Apache Software Foundation (ASF) under one or more
151b190e79e64824552e01849352ca8f6ac7dedbLennart Poettering * contributor license agreements. See the NOTICE file distributed with
151b190e79e64824552e01849352ca8f6ac7dedbLennart Poettering * this work for additional information regarding copyright ownership.
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering * The ASF licenses this file to You under the Apache License, Version 2.0
5430f7f2bc7330f3088b894166bf3524a067e3d8Lennart Poettering * (the "License"); you may not use this file except in compliance with
151b190e79e64824552e01849352ca8f6ac7dedbLennart Poettering * the License. You may obtain a copy of the License at
151b190e79e64824552e01849352ca8f6ac7dedbLennart Poettering * http://www.apache.org/licenses/LICENSE-2.0
9393a8774c1acd60deea40007061b9ffc783bf7eLennart Poettering * Unless required by applicable law or agreed to in writing, software
49dbfa7b2b0bf3906704dac1eaeb4eba91056a19Lennart Poettering * distributed under the License is distributed on an "AS IS" BASIS,
151b190e79e64824552e01849352ca8f6ac7dedbLennart Poettering * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
151b190e79e64824552e01849352ca8f6ac7dedbLennart Poettering * See the License for the specific language governing permissions and
d6bc8348d5be8576a475ac8ced2b0146e60fb71fDaniel Buch * limitations under the License.
const char *location;
return DECLINED;
return DECLINED;
return HTTP_NOT_FOUND;
return HTTP_FORBIDDEN;
apr_file_close(f);
return OK;
if (!r->header_only) {
apr_bucket *b;
apr_file_close(f);
return HTTP_INTERNAL_SERVER_ERROR;
return HTTP_INTERNAL_SERVER_ERROR;
apr_file_close(f);
return OK;