Loïc Hoguin
9980348a1c
Remove deprecated body reading interface
2014-07-12 15:42:45 +02:00
Loïc Hoguin
ecbebeefe8
Remove useless todo comments
2014-07-12 14:50:01 +02:00
Loïc Hoguin
e2b5c21443
Drop R15 support
2014-07-12 14:19:29 +02:00
Loïc Hoguin
de4697690c
Small addition to the ROADMAP
2014-07-12 12:11:24 +02:00
Loïc Hoguin
97a3108576
Reply with 400 on header parsing crash
...
This is a first step to improve the HTTP status codes returned
by Cowboy on crashes. We will tweak it over time.
Also fixes a small bug where two replies may have been sent
when using loop handlers under rare conditions.
2014-07-12 12:09:43 +02:00
Loïc Hoguin
20f598f373
Clarify {true, URL} return for AcceptResource callback
2014-07-10 14:27:11 +02:00
Loïc Hoguin
fd423eb170
Merge branch 'fix-spdy-parse-frame' of git://github.com/voluntas/cowboy
...
A fix for a possible bug has been made to the original patch.
2014-07-07 17:22:36 +02:00
Loïc Hoguin
7f179f377f
Add failing test of chaining SPDY frames
2014-07-07 17:18:14 +02:00
Loïc Hoguin
d38c064f73
Small addition to 2.0 roadmap
2014-07-07 14:14:36 +02:00
Loïc Hoguin
078d686a0a
Provide installable man pages
...
make docs: generate Markdown and man pages in doc/
make install-docs: install man pages to be usable directly
Docs are generated from the ezdoc files in doc/src/.
2014-07-06 13:10:35 +02:00
Loïc Hoguin
1a71a733c3
Add a new guide chapter: designing a resource handler
2014-07-01 14:06:20 +02:00
Loïc Hoguin
993606ede8
Explain that passing Req around leads to undefined behavior
2014-07-01 13:21:24 +02:00
Loïc Hoguin
15da836d2a
Merge branch 'fix/rest_principles_typo' of git://github.com/paulo-ferraz-oliveira/cowboy
2014-07-01 09:52:15 +02:00
Paulo Oliveira
531e7f9d7b
Fix typo in REST principles chapter
2014-06-30 21:45:11 +01:00
Loïc Hoguin
fdf815bfce
Add missing bracket in a guide example
2014-06-30 18:17:34 +02:00
Loïc Hoguin
163f0b5651
Tweak the REST principles chapter following feedback
2014-06-30 18:08:49 +02:00
Loïc Hoguin
e6473ba3ea
Add note about httpbis to the roadmap
2014-06-30 17:51:01 +02:00
Loïc Hoguin
4eee573700
Return 422 instead of 400 when AcceptResource returns false
...
422 is undefined for HTTP and interpreted as 400.
2014-06-30 17:49:36 +02:00
Loïc Hoguin
8cc353114e
Update specs that were too wide
2014-06-30 17:36:43 +02:00
Loïc Hoguin
bc3b122e89
Forgot a todo in the ROADMAP
2014-06-30 16:21:27 +02:00
Loïc Hoguin
e40c2c33c5
Roadmap for Cowboy 2.0
2014-06-30 16:07:46 +02:00
Loïc Hoguin
4eb6c7928a
Fix typo
2014-06-30 10:18:54 +02:00
Loïc Hoguin
abcc6e96d8
Update erlang.mk and update paths to start the release
...
Fixes a couple invalid instructions at the same time.
2014-06-30 10:14:05 +02:00
Nakai Ryosuke
fec3355192
Fix cowboy_spdy parse frame
2014-06-28 20:13:41 +09:00
Loïc Hoguin
73f65d5a75
Document the HTTP status codes Cowboy may send in the manual
...
422 is left out as it's soon to be replaced by 400.
2014-06-26 14:32:20 +02:00
Loïc Hoguin
24213c3b6a
Cowboy works fine under 17.1
2014-06-25 18:19:26 +02:00
Loïc Hoguin
fd3c40c7ee
Wrap-up the user guide
2014-06-25 11:23:58 +02:00
Loïc Hoguin
642630fea1
Add a multipart intro chapter to the guide
2014-06-23 17:51:36 +02:00
Loïc Hoguin
5cd2f0516a
Write the guide chapter rest_flowcharts explaining the diagrams
2014-06-22 17:10:17 +02:00
Loïc Hoguin
efa8bb5cf8
Add a missing "true" label
2014-06-21 19:03:53 +02:00
Loïc Hoguin
05503affa8
Add a stub chapter with all the REST flowcharts
...
The detailed explanations will be written at a later time.
2014-06-21 18:50:50 +02:00
Loïc Hoguin
7b18373943
Add more details about the 304 in cond diagram
2014-06-21 18:22:20 +02:00
Loïc Hoguin
0083f44c6a
Add REST diagram for PUT/POST/PATCH
2014-06-21 18:15:50 +02:00
Loïc Hoguin
14c1414b4b
Add REST diagram for DELETE method
2014-06-20 19:52:51 +02:00
Loïc Hoguin
b386c962f6
Add REST diagram for GET and HEAD
2014-06-20 18:56:07 +02:00
Loïc Hoguin
1b22e1582e
Add REST diagram for the part about conditional requests
2014-06-19 19:46:45 +02:00
Loïc Hoguin
82f51ca6d2
Add variances to the conneg diagram
2014-06-19 19:29:35 +02:00
Loïc Hoguin
a4cc031218
Add more REST diagrams
2014-06-19 13:47:49 +02:00
Loïc Hoguin
d8b65cbc33
Add REST diagram for OPTIONS method
2014-06-18 17:08:25 +02:00
Loïc Hoguin
ee3ad5e510
Update Cowboy to 0.10.0
2014-06-10 12:07:11 +02:00
Loïc Hoguin
95a25a1b74
Update AUTHORS
2014-06-10 12:02:58 +02:00
Loïc Hoguin
0a27247a91
Update CHANGELOG and ROADMAP
2014-06-10 12:00:30 +02:00
Loïc Hoguin
c81b94160e
Update Ranch to 0.10.0
2014-06-10 11:36:55 +02:00
Loïc Hoguin
6bbdbe4efa
Update cowlib to 0.6.2
...
Fixes parsing of Google Analytics cookies.
2014-06-10 09:34:46 +02:00
Loïc Hoguin
7cd3ecc6b6
Fix specs and a weird value in cowboy_spdy
2014-06-10 09:24:06 +02:00
Loïc Hoguin
fc7e038fba
Merge branch 'binary-expires' of git://github.com/NineFX/cowboy
2014-06-10 08:39:40 +02:00
Drew Varner
6ed25fd60b
Allow users to pass a raw binary() as the expires header.
2014-06-10 00:12:26 +02:00
Loïc Hoguin
7a808e0aa3
Add a REST principles chapter to the guide
...
This is a complex subject so hopefully I did not introduce
errors while trying to explain it.
2014-06-04 15:28:27 +02:00
Loïc Hoguin
07c622a0fe
Add a simple multipart upload example
2014-06-03 19:20:07 +02:00
Loïc Hoguin
5d1d9af6cd
Add a return value to onresponse hook to override status/headers
...
This would allow us to override them without messing up the body,
and would make it usable with the static file handler for example.
Experimental at this point.
2014-06-03 18:31:05 +02:00