aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_dispatcher.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-12-19 10:29:44 +0100
committerLoïc Hoguin <[email protected]>2011-12-19 10:29:44 +0100
commitc54c361adbaaf415f746388d4467906d8bcacb40 (patch)
treee30101ece1c9ef44c026411f1b903bc544c73c84 /src/cowboy_dispatcher.erl
parentf390dbd60671fd49bd99137f539794b1fbe1c718 (diff)
downloadcowboy-c54c361adbaaf415f746388d4467906d8bcacb40.tar.gz
cowboy-c54c361adbaaf415f746388d4467906d8bcacb40.tar.bz2
cowboy-c54c361adbaaf415f746388d4467906d8bcacb40.zip
create_path now returns a path, not an URI
Also add the new 'put_path' metadata information to the request before entering the put_resource step (which proceeds to call content_types_accepted and then the chosen content type's callback, which is expected to use the 'put_path' value as the path to the new resource instead of the original request path, because it may have been changed by the create_path call.
Diffstat (limited to 'src/cowboy_dispatcher.erl')
0 files changed, 0 insertions, 0 deletions