Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-06 | Fix the stream_body_set_resp test | Loïc Hoguin | |
It was failing from time to time due to the response being sent as two separate packets. | |||
2012-01-06 | Fix handler crashes handling | Loïc Hoguin | |
We try to send a 500 error only if we didn't send the response headers yet. If they were, then we have no way to be sure the response was fully sent, nor should we assume anything about how this will be handled client-side, so we do nothing more and in both cases close the connection. | |||
2012-01-06 | Move the ensure_response call before ensure_body_processed | Loïc Hoguin | |
We want to reply as soon as possible. | |||
2012-01-06 | Merge branch 'issue-114-tests' of https://github.com/klaar/cowboy into ↵ | Loïc Hoguin | |
gracefully-handle-crashes Conflicts: test/http_SUITE.erl | |||
2012-01-05 | Merge branch 'static-updates' of https://github.com/klaar/cowboy | Loïc Hoguin | |
2012-01-05 | only run end_static_dir for http and https | Magnus Klaar | |
2012-01-05 | Add test and doc for content types function. | Magnus Klaar | |
2012-01-05 | Merge branch 'inet_parse_address_fix' of https://github.com/spawngrid/cowboy | Loïc Hoguin | |
2012-01-04 | inet_address:parse/1 does not accept binaries as an input, only strings | Yurii Rashkovskii | |
2012-01-04 | Add R15B to travis-ci's configuration file | Loïc Hoguin | |
2012-01-03 | Merge branch 'static-handler-split' of https://github.com/klaar/cowboy | Loïc Hoguin | |
2012-01-03 | Merge pull request #118 from klaar/travis-versions-fix | Loïc Hoguin | |
Remove R14B and R14B01 from .travis.yml | |||
2012-01-03 | Remove R14B and R14B01 from .travis.yml | Magnus Klaar | |
2012-01-03 | Add note on async threads to cowboy_http_static. | Magnus Klaar | |
2011-12-29 | Add tests for #114 | Magnus Klaar | |
2011-12-28 | Add built-in cowboy_http_static handler. | Magnus Klaar | |
2011-12-28 | Add cowboy_http_req:set_resp_body_fun/3 to rest | Magnus Klaar | |
2011-12-28 | Add cowboy_http_req:set_resp_body_fun/3. | Magnus Klaar | |
2011-12-28 | Add cowboy_http_req:transport/1 function. | Magnus Klaar | |
2011-12-26 | Use calendar date and time types exported since R14B04 | Loïc Hoguin | |
Removes the cowboy_clock:date/0, time/0 and datetime/0 exported types. | |||
2011-12-26 | Add CHANGELOG.md file | Loïc Hoguin | |
2011-12-22 | Update AUTHORS file | Loïc Hoguin | |
2011-12-22 | Add 'Upgrade' header parsing | Loïc Hoguin | |
Not parsing product tokens, I don't see much point. | |||
2011-12-22 | Remove outdated @todo notes and update another | Loïc Hoguin | |
2011-12-22 | Add a max_keepalive HTTP protocol option | Loïc Hoguin | |
Based on the patch by Louis-Philippe Gauthier. | |||
2011-12-22 | Websocket control frames payload length must be lower than 126 bytes | Loïc Hoguin | |
2011-12-22 | Add ct tests for binary websocket frames | Loïc Hoguin | |
2011-12-22 | Move the websocket tests in a separate suite | Loïc Hoguin | |
2011-12-19 | create_path now returns a path, not an URI | Loïc Hoguin | |
Also add the new 'put_path' metadata information to the request before entering the put_resource step (which proceeds to call content_types_accepted and then the chosen content type's callback, which is expected to use the 'put_path' value as the path to the new resource instead of the original request path, because it may have been changed by the create_path call. | |||
2011-12-19 | Add meta/2 and meta/3 to cowboy_http_req to save useful protocol information | Loïc Hoguin | |
* cowboy_http_protocol now defines 'websocket_version' as metadata. * cowboy_http_rest now defines 'media_type', 'language', 'charset' as metadata. | |||
2011-12-19 | Add missing p_headers and cookies to compacted values | Loïc Hoguin | |
2011-12-17 | Merge branch 'resp-body-fix' of github.com:klaar/cowboy | Loïc Hoguin | |
2011-12-16 | update type of resp_body to iodata | Magnus Klaar | |
resp_body is set by cowboy_http_req:set_resp_body/2 which accepts the input type iodata(). Update the resp_body field to use the same type. Also update the cowboy_http_req:has_resp_body/2 function to use the iolist_size/1 which works with both binary() and iolist() values instead of the byte_size/1 function which only works with binary() values. | |||
2011-12-16 | Remove -Wbehaviours dialyzer option unavailable in R15B | Loïc Hoguin | |
2011-12-15 | Skip dependencies when running ct tests | Loïc Hoguin | |
2011-12-15 | Fix a dialyzer warning | Loïc Hoguin | |
2011-12-15 | Reply status 400 if we receive an unexpected value or error for headers | Loïc Hoguin | |
2011-12-15 | Add cowboy:accept_ack/1 for a cleaner handling of the shoot message | Loïc Hoguin | |
2011-12-12 | Merge branch 'variances-fix' of github.com:klaar/cowboy | Loïc Hoguin | |
2011-12-12 | Fixes match_media_type in cowboy_http_rest | Loïc Hoguin | |
Based on the patch from Heinz N. Gies. The main change is that his patch accept values such as */plain which we do not want. Fixes issue #105. | |||
2011-12-12 | Merge branch 'hipe-compilation-fix' of github.com:klaar/cowboy | Loïc Hoguin | |
2011-12-12 | Merge branch 'master' of github.com:talentdeficit/cowboy | Loïc Hoguin | |
2011-12-12 | adds webmachine format content type handling | alisdair sullivan | |
2011-12-12 | Merge branch 'urlencode' of github.com:klaar/cowboy | Loïc Hoguin | |
2011-12-11 | update cowboy_http_rest:variances/2 | Magnus Klaar | |
Fix pattern in case statement that was intended to strip away the first comma separating the values in the variance header. Update generation of variance list to use more idiomatic erlang. Pattern match on list structure over using erlang:length/1 to compute length. | |||
2011-12-10 | update /bits in binary expressions to /binary | Magnus Klaar | |
This is a workaround for an issue in the hipe compiler where compilation of code matching on binaries using patterns of the form Data = <<Char, _Ignore/bits>> fails because _Ignore is expected to be used. Using /binary instead of /bits resolves the issue. We're applying this change to all binary expressions in cowboy_http because all functions in this module process human readable text formats which are always expected to be bytestrings. Two uses of /bits has been changed to /binary in cowboy_http_websocket in two clauses of a single function, websocket_data/4. This is safe to change because the data is later passed to binary:match/2 which will always fail with a badarg error if the input is a bitstring instead of a bytestring. | |||
2011-12-09 | add cowboy_http:urlencode/2 and urlencode/1 | Magnus Klaar | |
This function complements the cowboy_http:urldecode/2 and urldecode/1 functions. We should have this encoding covered now. urldecode is only expected to be invoked by user code, no further changes needed to integrate this. | |||
2011-12-08 | Fix the process_post/2 function in cowboy_http_rest | Loïc Hoguin | |
2011-12-08 | Add more documentation to the REST protocol handler | Loïc Hoguin | |
2011-12-08 | Merge branch 'master' of https://github.com/erlyvideo/cowboy | Loïc Hoguin | |
Just fixed the indentation a bit. |