plan9-archive
/
http-limbo
Code
Issues
Pull Requests
Antique
Wiki
Insights
/
Code
History
Commits on
master
to
module
8
ML
very minor changes (docs, tiny bug fix).
Mechiel Lukkien committed 17 years ago
6d93a68
ML
basic "get" function. not complete yet as it doesn't handle redirects. fix Iobuf references in mhttp.m to have Bufio-> prefix. style nits.
Mechiel Lukkien committed 17 years ago
1ec0efc
ML
remove bogus target nuke.
Mechiel Lukkien committed 18 years ago
118716f
ML
fix mkfiles, for /man & /module (nuking & prepare for man page installing)
Mechiel Lukkien committed 18 years ago
7f1ed38
ML
add methodstr to adt Req. Req.read now sets .method to UNKNOWN if it does not recognize the method. this allows e.g. httpd to determine the difference between "could not parse request" and "unknown method", allowing it to return the correct error message.
Mechiel Lukkien committed 18 years ago
6b8179c
ML
make Hdrs.get not append header values. that is only allowed for (only few) specific headers. let the callers figure out if they want it and let them use the new hdrs.getlist().
Mechiel Lukkien committed 18 years ago
10ffe4c
ML
make majoro/minor version explicit. this allows us to treat http/1.2 (i.e. future http versions) as http/1.1 versions, instead of treating it as a bad request. note that users of Req.read and Resp.read should check that they support the http version. (Req Resp).version() returns the hightest known version supported, e.g. HTTP_11 for http/1.2. they raise an error unsupported versions, so be careful.
Mechiel Lukkien committed 18 years ago
bb7d3a1
ML
initial version, it's a rewritten previous version of http.m. this works with webdavfs for now.
Mechiel Lukkien committed 19 years ago
eeedff8