tsujigiri/axiom

Upgrade Cowboy

Closed this issue · 4 comments

After Cowboy 0.6.1 Cowboy's http_req record was made opaque and can not be used directly anymore. I didn't really have the time yet to look into it, but it looks like we just need to remove all references to the record from the documentation and add directions on how to access cowboy_req:req() via the cowboy_req functions.

See ninenines/cowboy#266 and ninenines/cowboy#267.

Cowboy 0.8.0 has been released. I added this ticket to the 0.1.0 milestone.

dvv commented

+1

I created a new branch.

So far, it seems to work. I even got @piotr-sobczyk's changes to the static file dispatch translated to the new cowboy. The tests still need to be adapted.