aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/include
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2010-11-26 11:02:15 +0100
committerIngela Anderton Andin <[email protected]>2010-11-29 10:45:42 +0100
commitd678ee003cd02d3cdffabfd13cc96f8d493dbf0d (patch)
treeccca7fe2e385565a5fbcb70f1e60c600d4868542 /lib/inets/include
parent839dcbfe1285b292c4208c696ceae4b22c46aff7 (diff)
downloadotp-d678ee003cd02d3cdffabfd13cc96f8d493dbf0d.tar.gz
otp-d678ee003cd02d3cdffabfd13cc96f8d493dbf0d.tar.bz2
otp-d678ee003cd02d3cdffabfd13cc96f8d493dbf0d.zip
URL-encoding - add support in client and more usage in server. Also
added missing include directory.
Diffstat (limited to 'lib/inets/include')
-rw-r--r--lib/inets/include/httpd.hrl41
1 files changed, 41 insertions, 0 deletions
diff --git a/lib/inets/include/httpd.hrl b/lib/inets/include/httpd.hrl
new file mode 100644
index 0000000000..a7e63ca670
--- /dev/null
+++ b/lib/inets/include/httpd.hrl
@@ -0,0 +1,41 @@
+%%
+%% %CopyrightBegin%
+%%
+%% Copyright Ericsson AB 1997-2010. All Rights Reserved.
+%%
+%% The contents of this file are subject to the Erlang Public License,
+%% Version 1.1, (the "License"); you may not use this file except in
+%% compliance with the License. You should have received a copy of the
+%% Erlang Public License along with this software. If not, it can be
+%% retrieved online at http://www.erlang.org/.
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+%% the License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% %CopyrightEnd%
+%%
+%%
+
+-ifndef(httpd_hrl).
+-define(httpd_hrl, true).
+
+-include_lib("kernel/include/file.hrl").
+
+-record(init_data,{peername,resolve}).
+
+-record(mod,{init_data,
+ data=[],
+ socket_type=ip_comm,
+ socket,
+ config_db,
+ method,
+ absolute_uri=[],
+ request_uri,
+ http_version,
+ request_line,
+ parsed_header=[],
+ entity_body,
+ connection}).
+-endif. % -ifdef(httpd_hrl).