400 on resource deletion
This activity:
{'@context': 'https://cdn.happy-dev.fr/owl/hdcontext.jsonld', 'object': 'https://api.lepool.hubl.world/projects/5/', 'author': 'https://api.lepool.hubl.world/users/cyrilthiriet/', 'type': 'deletion'}
Led to this response from Prosody:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>400 Bad Request</title>
<style>
body {
margin-top : 14%;
text-align : center;
background-color : #F8F8F8;
font-family : sans-serif
}
h1 {
font-size : xx-large
}
p {
font-size : x-large
}
p.extra {
font-size : large;
font-family : courier
}
@media(prefers-color-scheme: dark) {
body {
background-color: #161616;
color: #eee
}
}
</style>
</head>
<body>
<h1>400 Bad Request</h1>
<p>What kind of request do you call that??</p>
<p class="extra">Invalid data</p>
</body>
</html>
Prosody should keep a relation from an urlid to a jabberid on its side to relate which resource has been deleted, as it does not exists anymore on DjangoLDP.
@MattJ Any idea on this?