aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2016-08-11Merge branch 'master' of https://github.com/sergey-ivlev/cowboyLoïc Hoguin
2016-08-11Fix cookie example againLoïc Hoguin
2016-08-11Fix timer-sent events in the websocket exampleLoïc Hoguin
2016-08-10Add specs for the cowboy_req:push/3,4 functionsLoïc Hoguin
2016-08-10Use binary_to_integer instead of to list and backLoïc Hoguin
2016-08-10Let the stream handler take care of crash handling and loggingLoïc Hoguin
2016-08-10Make reply functions return ReqLoïc Hoguin
2016-08-10Update the multipart reading interfaceLoïc Hoguin
Now named read_part/read_part_body, with a verb indicating action.
2016-08-10Update examples to the new interfaceLoïc Hoguin
2016-08-10Remove logic to always send a response in cowboy_loopLoïc Hoguin
This is taken care of at the protocol level now.
2016-08-10Add a lot of todosLoïc Hoguin
2016-08-10Add tests for responses and request body readingLoïc Hoguin
This is a large commit. The cowboy_req interface has largely changed, and will change a little more. It's possible that some examples or tests have not been converted to the new interface yet. The documentation has not yet been updated. All of this will be fixed in smaller subsequent commits. Gotta start somewhere...
2016-07-26fix echo_get examplesergey-ivlev
2016-06-22Add forgotten changes to a test handlerLoïc Hoguin
2016-06-22Move TERM= declaration to make variable sideLoïc Hoguin
2016-06-22Update OTP versions testedLoïc Hoguin
2016-06-22Remove cowboy_req:get and setLoïc Hoguin
2016-06-22Remove cowboy_req:append_buffer/2Loïc Hoguin
2016-06-22Remove unused local function in cowboy_reqLoïc Hoguin
2016-06-22Remove cowboy_req:set_bindings/4Loïc Hoguin
2016-06-22Remove cowboy_req:lock/1Loïc Hoguin
2016-06-22Remove cowboy_req:to_list/1Loïc Hoguin
2016-06-22Add tests for cowboy_req: match_cookies and match_qsLoïc Hoguin
2016-06-21Remove the meta functions from cowboy_reqLoïc Hoguin
Now that we have a public map they are pretty much pointless.
2016-06-21Add cowboy_req:uri/1,2Loïc Hoguin
Along with more cowboy_req tests. This commit also removes cowboy_req:url/1 and cowboy_req:host_url/1 in favor of the much more powerful new set of functions.
2016-06-21Remove cowboy_req:new/14Loïc Hoguin
This internal function is no longer necessary.
2016-06-20Add initial req suiteLoïc Hoguin
2016-06-20Add cowboy_req:scheme/1Loïc Hoguin
2016-06-20Properly parse the host/port in HTTP/2Loïc Hoguin
2016-06-20Fix cowboy_req:peer/1Loïc Hoguin
2016-06-16Fix upload exampleLoïc Hoguin
2016-06-16Make sure a response is always sent with HTTP/2Loïc Hoguin
Previously only DATA was sent, with missing HEADERS.
2016-06-16Mark broken examples as such in their READMELoïc Hoguin
2016-06-15Fix rest_pastebin exampleLoïc Hoguin
2016-06-14Fix eventsource exampleLoïc Hoguin
2016-06-14Fix cookie exampleLoïc Hoguin
2016-06-14Fix rest_basic_auth exampleLoïc Hoguin
2016-06-13Fix websocket exampleLoïc Hoguin
2016-06-13Fix markdown_middleware exampleLoïc Hoguin
2016-06-13Fix chunked_hello_world exampleLoïc Hoguin
2016-06-13Fix streaming HTTP/2 responsesLoïc Hoguin
Error reporting for connection processes has been improved, using a similar proc_lib hack as was done for the stream processes.
2016-06-13Merge static_world and web_server examplesLoïc Hoguin
The new example is called file_server and it's basically the same as web_server was. The name is clearer than the original, all examples being "Web servers". The new example is also tested and the test suite has been refactored a little.
2016-06-09Fix rest_hello_world exampleLoïc Hoguin
2016-06-09Fix small issue in echo_get exampleLoïc Hoguin
2016-06-09Add HTTP/2 snippets to all working examplesLoïc Hoguin
2016-06-08Fix echo_post exampleLoïc Hoguin
2016-06-08Fix request body reading in HTTP/2Loïc Hoguin
2016-06-08Fix echo_get exampleLoïc Hoguin
2016-06-08Add a test suite that checks examples are workingLoïc Hoguin
2016-06-07Merge branch 'minor-gitignore-update' of https://github.com/katsel/cowboyLoïc Hoguin