Code

History

Commits on master to appl16
  1. fix reading gzip/deflate responses.Mechiel Lukkien committed 15 years ago04dbbcf
  2. recognize more url schemes than just http and https.Mechiel Lukkien committed 17 years ago4f256e2
  3. undo previous change with strict scheme checking. things depend on less-strict checking and broke.Mechiel Lukkien committed 17 years ago7a3c95f
  4. very minor changes (docs, tiny bug fix).Mechiel Lukkien committed 17 years ago6d93a68
  5. 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
  6. add hget, a simple http client that uses the library. it gets a manual page too.Mechiel Lukkien committed 18 years ago3643bfe
  7. 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
  8. better error messages, with quoted original strings.Mechiel Lukkien committed 18 years agoecff1f6
  9. print which method name is unrecognized, for more useful error messages.Mechiel Lukkien committed 18 years agocb03b85
  10. do not code/decode query-part of url, that entirely breaks the semantics...Mechiel Lukkien committed 18 years agoc6232f6
  11. 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
  12. fix continued headers. well, they sort of worked, but leading and trailing whitespace weren't stripped. now they are.Mechiel Lukkien committed 18 years agof899d20
  13. 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
  14. dial proxyaddr if it is set.Mechiel Lukkien committed 19 years ago1adcc5e
  15. implement Req.read.Mechiel Lukkien committed 19 years ago04dcffd
  16. initial version, it's a rewritten previous version of http.m. this works with webdavfs for now.Mechiel Lukkien committed 19 years agoeeedff8

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t