aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2012-12-03Allow passing the Req and an updated Opts when upgrading protocolsLoïc Hoguin
2012-12-02Add more frame types available in websocket repliesLoïc Hoguin
We can now reply empty close, ping and pong frames, or close frames with a payload. This means that we can send a frame and then close the connection in a single operation. If a close packet is sent, the connection is closed immediately, even if there was frames that remained to be sent. Cowboy will silently drop any extra frames in the list given as a reply.
2012-12-01Return full packet as multipart body if possibleMagnus Klaar
2012-12-01Use Transport:sendfile/2 from RanchLoïc Hoguin
This removes a bunch of unneeded code, including code that was made for R14 which we don't support anymore. Note that the dependency on Ranch was updated, so you will need to update Ranch for the new code to work.
2012-11-30Return a 400 error if the Accept header was incorrectLoïc Hoguin
2012-11-29Add a better error message when user callbacks are not exportedLoïc Hoguin
2012-11-29static: Allow passing the mimetype fun as a {M, F} tupleLoïc Hoguin
2012-11-28Update the cowboy_websocket_handler specsLoïc Hoguin
We can send many payloads at once.
2012-11-28Clarify error reports indicating they come from CowboyLoïc Hoguin
2012-11-28Merge branch 'master' of git://github.com/chancila/cowboyLoïc Hoguin
2012-11-27charsets_provided in rest module to return [binary()]Cristian Hancila
2012-11-27Fix a test that worked intermittentlyLoïc Hoguin
2012-11-27Merge branch 'onrequest' of git://github.com/saleyn/cowboyLoïc Hoguin
2012-11-27Fixed onrequest path-related issueserge
2012-11-27Merge branch 'fix/websocket-check-error-on-send' of ↵Loïc Hoguin
git://github.com/tillitech/cowboy
2012-11-27Cosmetic changes to various documentation filesLoïc Hoguin
2012-11-27Do not try to keep-alive when using HTTP/1.0Loïc Hoguin
2012-11-27Check for errors when calling Transport:send in the websocket protocolAli Sabil
In some situations, the underlying socket might become "half-open" in which case the websocket will stay in a waiting state indefinitely. The detection of this state requires checking for errors when calling send.
2012-11-27Merge branch '400_Bad_Request' of git://github.com/blinkov/cowboyLoïc Hoguin
2012-11-27Fix dispatch documentation with regards to the <<"*">> pathLoïc Hoguin
2012-11-26Merge branch 'master' of git://github.com/josevalim/cowboyLoïc Hoguin
2012-11-26Fix a small typo in the rest_init error messageLoïc Hoguin
2012-11-24Merge pull request #297 from puzza007/masterLoïc Hoguin
Correct spelling in rest callback name
2012-11-16REST: Fix the status code sent if the content type isn't knownLoïc Hoguin
2012-11-13Fix the markdown for the READMELoïc Hoguin
2012-11-13Add a few more infos to the .app.src for private useLoïc Hoguin
2012-11-10Merge pull request #315 from tokenrove/correct-header-caseLoïc Hoguin
Convert headers to lowercase
2012-11-10Convert headers to lowercaseJulian Squires
2012-10-27Return "400 Bad Request" instead of crashing process on incorrect queries ↵Ivan Blinkov
like /%qq
2012-10-25musnt is not the correct contraction of mustn't - use must_not insteadPaul Oliver
2012-10-25Mimetype lookup expects lowercase extensionsLoïc Hoguin
We handle extensions in a case-insensitive manner when looking for a mimetype for a file. Extensions are thus lowered.
2012-10-19Fix examples in cowboy_static edocLoïc Hoguin
2012-10-15Merge pull request #288 from j0sh/masterLoïc Hoguin
Clarify docs for known_methods and allowed_methods.
2012-10-15Add Introduction chapter to the guideLoïc Hoguin
2012-10-13Clarify docs for known_methods and allowed_methods.Josh Allmann
2012-10-11Do not remove duplicated Set-Cookie entriesJosé Valim
This commit closes #195, closes #199, closes #246.
2012-10-11Allow websocket handlers to reply more than one frameLoïc Hoguin
Instead of returning {text, Data}, you can now return [{text, Data}, {text, Data2}, ...].
2012-10-11Start crypto also in the examples and documentationLoïc Hoguin
2012-10-11Merge branch 'dbmercer-patch-1' of git://github.com/dbmercer/cowboy.gitLoïc Hoguin
2012-10-11Modified static example to send appropriate MIME typedbmercer
Modified the static example in the examples subdirectory to use the mimetypes application to determine the appropriate MIME type to send down the wire in the HTTP headers of the reply.
2012-10-11Fix Vary header, was wrongly named Variances previouslyLoïc Hoguin
2012-10-11Fix the autobahn test suiteLoïc Hoguin
All tests still pass! (Excluding UTF-8 of course.)
2012-10-11Add crypto into the required applicationsLoïc Hoguin
As suggested by @prof3ta.
2012-10-11Cleanup cowboy_req:parse_header/3Loïc Hoguin
As suggested by @yrashk.
2012-10-05Update ROADMAP.mdLoïc Hoguin
2012-10-05Add CONTRIBUTING.md fileLoïc Hoguin
2012-10-05Update CHANGELOGLoïc Hoguin
2012-10-04The onresponse hook now receives 4 arguments, including the bodyLoïc Hoguin
We do not always provide the body however. It is not available when using chunked replies, or when using set_resp_body_fun.
2012-10-04Fix the parsing of the Connection headerLoïc Hoguin
2012-10-02Merge pull request #272 from seryl/fix_readme_relative_linksLoïc Hoguin
Fixing relative links