Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (34 sloc) 1.003 kb
21abc5b Claes Wikstrom Initial revision
authored
1 %%%----------------------------------------------------------------------
2 %%% File : yaws_api.hrl
3 %%% Author : Claes Wikstrom <klacke@hyber.org>
4 %%% Purpose :
5 %%% Created : 24 Jan 2002 by Claes Wikstrom <klacke@hyber.org>
6 %%%----------------------------------------------------------------------
7
8 -author('klacke@hyber.org').
9
10
11 -record(arg, {
12 clisock, %% the socket leading to the peer client
13 h, %% headers
14 req, %% request
15 clidata, %% The client data (as a binary in POST requests)
16 querydata, %% Was the URL on the form of ....?query (GET reqs)
17 docroot %% where's the data
18
19 }).
20
21
22
23
24 -record(http_request, {method,
25 path,
26 version}).
27
28
29 -record(headers, {
30 connection,
31 accept,
32 host,
33 if_modified_since,
34 if_match,
35 if_none_match,
36 if_range,
37 if_unmodified_since,
38 range,
39 referer,
40 user_agent,
41 accept_ranges,
42 cookie = [],
43 keep_alive,
44 content_length}).
45
46
47
48
49
Something went wrong with that request. Please try again.