aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2023-03-27 18:51:13 +0100
committerTomasz Kramkowski <tomasz@kramkow.ski>2023-03-27 19:01:34 +0100
commit058771b594e9382cd65f3366129e017e357d659b (patch)
treefc9883deffec9f125e7ce0e5d86e6fef8a2f6b7f /tests
parent43384a64917cfe25af62376da19e311e628e0d4c (diff)
downloadpaste-058771b594e9382cd65f3366129e017e357d659b.tar.gz
paste-058771b594e9382cd65f3366129e017e357d659b.tar.xz
paste-058771b594e9382cd65f3366129e017e357d659b.zip
Only handle PUT requests and respond correctly
Previously PUT and POST requests were handled the same way, this isn't correct and POST should be used for the functionality where a random URL is generated. Additionally PUT should reply with 201 when inserting and 204 when updating.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions