extend/cowboy — pull request #110 by klaar (2011-12-17 02:06:47+00:00)
Title: Integrate -callback attribute support

Existing specifications that conflict with the callback function specifications
declared in the -behaviour modules used has been removed because they have been
made redundant. Existing behaviour_info/1 callback has also been removed because
it conflicts with the new callback specifications.

Callback specifications has been added to the cowboy_http_protocol and
cowboy_http_websocket behaviours. The specifications has been based on the
current implementation of both behaviours.

A note on the use of -behaviour(cowboy_http_protocol) in REST and Websockets
modules has been added to the module documentation in cowboy_http_protocol