Code

History

Commits on master to module8
  1. very minor changes (docs, tiny bug fix).Mechiel Lukkien committed 17 years ago6d93a68
  2. 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 ago1ec0efc
  3. remove bogus target nuke.Mechiel Lukkien committed 18 years ago118716f
  4. fix mkfiles, for /man & /module (nuking & prepare for man page installing)Mechiel Lukkien committed 18 years ago7f1ed38
  5. 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 ago6b8179c
  6. 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 ago10ffe4c
  7. 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 agobb7d3a1
  8. initial version, it's a rewritten previous version of http.m. this works with webdavfs for now.Mechiel Lukkien committed 19 years agoeeedff8