1%%
2%% %CopyrightBegin%
3%%
4%% Copyright Ericsson AB 2009-2016. All Rights Reserved.
5%%
6%% Licensed under the Apache License, Version 2.0 (the "License");
7%% you may not use this file except in compliance with the License.
8%% You may obtain a copy of the License at
9%%
10%%     http://www.apache.org/licenses/LICENSE-2.0
11%%
12%% Unless required by applicable law or agreed to in writing, software
13%% distributed under the License is distributed on an "AS IS" BASIS,
14%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15%% See the License for the specific language governing permissions and
16%% limitations under the License.
17%%
18%% %CopyrightEnd%
19%%
20%%
21
22-ifndef(httpd_internal_hrl).
23-define(httpd_internal_hrl, true).
24
25-ifndef(SERVER_SOFTWARE).
26-define(SERVER_SOFTWARE,"inets/develop").	% Define in Makefile!
27-endif.
28-define(SERVER_PROTOCOL,"HTTP/1.1").
29-define(DEFAULT_MODS, [mod_alias, mod_auth, mod_esi, mod_actions, mod_cgi,
30		       mod_dir, mod_get, mod_head, mod_log, mod_disk_log]).
31-define(SOCKET_CHUNK_SIZE,8192).
32-define(SOCKET_MAX_POLL,25).
33-define(FILE_CHUNK_SIZE,64*1024).
34-define(GATEWAY_INTERFACE,"CGI/1.1").
35-define(DEFAULT_PROFILE, default).
36
37-define(NICE(Reason),lists:flatten(atom_to_list(?MODULE)++": "++Reason)).
38-define(DEFAULT_CONTEXT,
39	[{errmsg,"[an error occurred while processing this directive]"},
40	 {timefmt,"%A, %d-%b-%y %T %Z"},
41	 {sizefmt,"abbrev"}]).
42
43
44-endif. % -ifdef(httpd_internal_hrl).
45