Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

66 lines (51 sloc) 1.698 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)
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
}).
-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,
authorization,
other = [] %% misc other headers
}).
%% portal server has a queue of these
-record(ysession,
{cookie, %% the cookie assigned to the session
auth, %% the #auth structure as returned from portal_auth
to, %% greg secs untill timeout death
user, %% The user name
passwd, %% And the passwd of that user
starttime, %% When calendar:local_time() did sess start
opaque %% any data the user supplies
}).
Jump to Line
Something went wrong with that request. Please try again.