Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (44 sloc) 1.4 KB
%%%----------------------------------------------------------------------
%%% File : yaws_api.hrl
%%% Author : Claes Wikstrom <klacke@hyber.org>
%%% Purpose :
%%% Created : 24 Jan 2002 by Claes Wikstrom <klacke@hyber.org>
%%%----------------------------------------------------------------------
-author('klacke@hyber.org').
-record(arg, {
clisock, %% the socket leading to the peer client
headers, %% headers
req, %% request
clidata, %% The client data (as a binary in POST requests)
querydata, %% Was the URL on the form of ...?query (GET reqs)
appmoddata, %% the remainder of the path leading up to the querey
docroot, %% where's the data
fullpath, %% full path to yaws file
cont, %% Continuation for chunked multipart uploads
state, %% State for use by users of the out/1 callback
pid, %% pid of the yaws process
opaque %% useful for embedded mode to pass static data
}).
-record(http_request, {method,
path,
version}).
-record(headers, {
connection,
accept,
host,
if_modified_since,
if_match,
if_none_match,
if_range,
if_unmodified_since,
range,
referer,
user_agent,
accept_ranges,
cookie = [],
keep_alive,
content_length,
content_type,
authorization,
other = [] %% misc other headers
}).
Jump to Line
Something went wrong with that request. Please try again.