4
%% Copyright Ericsson AB 2002-2009. All Rights Reserved.
4
%% Copyright Ericsson AB 2002-2010. All Rights Reserved.
6
6
%% The contents of this file are subject to the Erlang Public License,
7
7
%% Version 1.1, (the "License"); you may not use this file except in
8
8
%% compliance with the License. You should have received a copy of the
9
9
%% Erlang Public License along with this software. If not, it can be
10
10
%% retrieved online at http://www.erlang.org/.
12
12
%% Software distributed under the License is distributed on an "AS IS"
13
13
%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14
14
%% the License for the specific language governing rights and limitations
15
15
%% under the License.
21
-include("inets_internal.hrl").
23
-define(HTTP_MAX_BODY_SIZE, nolimit).
21
-ifndef(http_internal_hrl).
22
-define(http_internal_hrl, true).
24
-include_lib("inets/src/inets_app/inets_internal.hrl").
26
-define(HTTP_MAX_BODY_SIZE, nolimit).
24
27
-define(HTTP_MAX_HEADER_SIZE, 10240).
25
-define(HTTP_MAX_URI_SIZE, nolimit).
28
-define(HTTP_MAX_URI_SIZE, nolimit).
30
-ifndef(HTTP_DEFAULT_SSL_KIND).
31
-define(HTTP_DEFAULT_SSL_KIND, ossl).
32
%% -define(HTTP_DEFAULT_SSL_KIND, essl).
33
-endif. % -ifdef(HTTP_DEFAULT_SSL_KIND).
27
36
%%% Response headers
28
37
-record(http_response_h,{