Commit History

Author SHA1 Message Date
  Loïc Hoguin e0185dd27f Add cowboy_tcp_transport:name/0 to ease transport identification later on. 14 years ago
  Loïc Hoguin 3865415a60 Boring 80-col change. 14 years ago
  Loïc Hoguin 06274cd8ab Introduce cowboy_http_req:body_qs/1 for automated urlencoded body parsing. 14 years ago
  Loïc Hoguin 775a03e6eb Fix spec for cowboy_http_req:parse_qs/1. 14 years ago
  Loïc Hoguin c645b682e7 Fix spec for cowboy_http_req:body/1 and body/2. 14 years ago
  Loïc Hoguin c3a36246b5 Explicitly ignore the return value of cowboy_http_req:reply in error_response. 14 years ago
  Loïc Hoguin d4c071c2d0 Fix the type spec for path_tokens, a list of *non empty* strings. 14 years ago
  Loïc Hoguin 06ff8607ed Add more dialyzer warnings to rebar.config. 14 years ago
  Loïc Hoguin 3b6f3004a6 Add a rebar.config file with useful options. 14 years ago
  Loïc Hoguin 1ebfa5eb1f Fix spec for cowboy_tcp_transport:close/1. 14 years ago
  Loïc Hoguin 545116edfa Fix spec for cowboy_http_req:reply/4. 14 years ago
  Loïc Hoguin fdd9d4c0ef Fix spec for cowboy_http_req:qs_vals/1. 14 years ago
  Loïc Hoguin 0c0b75f76b Fix spec for the #http_spec.path record field. 14 years ago
  Loïc Hoguin c366343ac6 Fix spec for cowboy_http_protocol:init/3. 14 years ago
  Loïc Hoguin 0b13835bfe Fix tests for cowboy_dispatcher:split_path/1. 14 years ago
  Loïc Hoguin 8e55c2e2b8 Fix spec for cowboy_dispatcher:split_path/1. 14 years ago
  Loïc Hoguin 193968d53e Fix spec for cowboy_dispatcher:split_host/1. 14 years ago
  Loïc Hoguin 7cacb88fec Introduce cowboy_http_req:body/1 to read the full request body. 14 years ago
  Loïc Hoguin e9781e77f1 Make sure error_response always returns ok. 14 years ago
  Loïc Hoguin e3dc9b2694 Add specs to ensure_response and change the clauses order. 14 years ago
  Loïc Hoguin 8b02992e6a Skip the request body if it hasn't been read by the handler. 14 years ago
  Loïc Hoguin e40001a884 Ensure a response is sent when the handler doesn't reply anything. 14 years ago
  Loïc Hoguin a1e56a2fba Move the error response code into a separate function. 14 years ago
  Loïc Hoguin 71b31cee92 Make sure we can only reply to an HTTP request inside Handler:handle. 14 years ago
  Loïc Hoguin d69d0adfa7 Lazy-retrieve the peer name and port to avoid wasting time each request. 14 years ago
  Loïc Hoguin f5e7178651 Change a @todo for Handler:init possible return values. 14 years ago
  Loïc Hoguin a3fff2f5b0 Rename a variable in cowboy_http_protocol for clarity. 14 years ago
  Loïc Hoguin df35916d2a Allow code reloading inside the cowboy_http_protocol module during keep-alive. 14 years ago
  Loïc Hoguin c4d4b6a051 Rename the title for Getting Started in the README. 14 years ago
  Loïc Hoguin 6fad3f7824 Default the connection to keep-alive on HTTP/1.1 and close on 1.0. 14 years ago