Age | Commit message (Collapse) | Author |
|
We can send many payloads at once.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
git://github.com/tillitech/cowboy
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
Correct spelling in rest callback name
|
|
|
|
|
|
|
|
Convert headers to lowercase
|
|
|
|
like /%qq
|
|
|
|
We handle extensions in a case-insensitive manner when looking
for a mimetype for a file. Extensions are thus lowered.
|
|
|
|
Clarify docs for known_methods and allowed_methods.
|
|
|
|
|
|
This commit closes #195, closes #199, closes #246.
|
|
Instead of returning {text, Data}, you can now return
[{text, Data}, {text, Data2}, ...].
|
|
|
|
|
|
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.
|
|
|
|
All tests still pass! (Excluding UTF-8 of course.)
|
|
As suggested by @prof3ta.
|
|
As suggested by @yrashk.
|
|
|
|
|
|
|
|
We do not always provide the body however. It is not available
when using chunked replies, or when using set_resp_body_fun.
|
|
|
|
Fixing relative links
|
|
|
|
Add rest_hello_world link to examples README
|
|
|
|
Fixing recursive examples README
|
|
|
|
|
|
fix typo in doc
|