nitrogen / simple_bridge

A simple, standardized interface library to Erlang HTTP Servers.
MIT License
112 stars 76 forks source link

Cowboy 2.x Support #65

Closed etxemag75 closed 5 years ago

etxemag75 commented 5 years ago

1) Adapted to latest Cowboy 2.x (2.4) APIs, new maps structure and case sensitive Headers 2) For backward compability, needed Erlang 21 adaptations of erlang:get_stacktrace() will be handled by a separate parse transform

choptastic commented 5 years ago

For the most part, this looks good. I'm working on this right now.

The main thing I must fix before merging is that the conversion to maps for headers breaks all other bridge modules, so I'm making some changes to make that more flexible.

Once I have this running and passing the simple_bridge tests, I'll merge it in.

Thanks again!