repository overview

about

information about this package can be found in the README. here is a html-version of the README:

status

useful, but probably has some buglets lingering in rarely exercised
code paths.

intro

this is a http library, and simple sample http download client.
the library supports both reading & writing requests & responses.
some features:

download

get the latest version from:
http://www.ueber.net/code/r/http

install

make sure you have $ROOT set, now "mk install" to compile and install
the files.
when building from within inferno, insert SYSHOST=Inferno and ROOT=
in the mk invocations to override the values in the mkconfig.

licence & author

this code is in the public domain, written by mechiel lukkien,
reachable at mechiel@ueber.net.

todo:

clone

to clone & pull:

hg clone http://www.ueber.net/hgsrv/http/
or
hg clone static-http://www.ueber.net/who/mjl/hg/http/

tgz

download a snapshot of the latest version: http-20.tgz.

contents

the files in the latest revision can be found at /hg/http/files/tip/. a specific revision can be access by replacing "tip" with the revision number, (partial) nodeid or tag name. a few direct links to useful files in the latest revision:

manual pages:

limbo module files:

limbo source files:

changes

rev nodeid when diff why
20 9bafcf433dff 14 months diff fix reading gzip/deflate responses.
19 6812df380408 2 years diff add mkconfig and mention it in README.
18 e91e2146623a 2 years diff recognize more url schemes than just http and https.
17 8dc91eb0ce2c 2 years diff undo previous change with strict scheme checking. things depend o...
16 e08f1581817a 2 years diff very minor changes (docs, tiny bug fix).
15 270dc25c471c 2 years diff basic "get" function. not complete yet as it doesn't handle redir...
14 e44de51ce0c0 3 years diff mention licence and me as author. show some tests for post requests.
13 27ec669b10da 3 years diff add hget, a simple http client that uses the library. it gets a m...
12 434bdbcc27e7 3 years diff remove bogus target nuke.
11 f34924183c7e 3 years diff fix mkfiles, for /man & /module (nuking & prepare for man page ins...
10 9af051b54d30 4 years diff add methodstr to adt Req. Req.read now sets .method to UNKNOWN if...
9 31b70f201ccf 4 years diff better error messages, with quoted original strings.
8 d281728ce33d 4 years diff print which method name is unrecognized, for more useful error mes...
7 0d6a7c7eb242 4 years diff do not code/decode query-part of url, that entirely breaks the sem...
6 1987d78fd828 4 years diff make Hdrs.get not append header values. that is only allowed for ...
5 0e9a2613731b 4 years diff fix continued headers. well, they sort of worked, but leading and...
4 b828e8c2c59f 4 years diff make majoro/minor version explicit. this allows us to treat http/...
3 666180c07f57 4 years diff dial proxyaddr if it is set.
2 41eece090646 4 years diff implement Req.read.
1 fd984cf188fe 4 years diff install instructions
0 066be3872de6 4 years - initial version, it's a rewritten previous version of http.m. thi...