diff options
author | Loïc Hoguin <[email protected]> | 2011-12-19 10:29:44 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2011-12-19 10:29:44 +0100 |
commit | c54c361adbaaf415f746388d4467906d8bcacb40 (patch) | |
tree | e30101ece1c9ef44c026411f1b903bc544c73c84 /src/cowboy.erl | |
parent | f390dbd60671fd49bd99137f539794b1fbe1c718 (diff) | |
download | cowboy-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.erl')
0 files changed, 0 insertions, 0 deletions