extend/cowboy — Issue #111: REST: Accept: */*
Author: bfrog
Created: 2011-12-19 20:24:15+00:00
State: open

When doing

curl -x POST -d "blah=blah" http://localhost:8080/something

Curl puts as part of the request headers

Accept: */*

Which means I have to define a content_types_provided callback even if all I have for allowed_methods is POST!

This is sort of annoying but I'm not really sure what the right thing to do here is. Is */* a special case where even the empty set of content_types_provided is acceptable?