-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Listing a profile already listed -> Update #9
Comments
I understand you just want to fetch updated version of the profile and save it in listing? |
@elf-pavlik Exactly, but without creating a new listing file on the directory in case that profile (about.id) was already listed. Correct me if i am wrong but i believe the actual implementation produces duplicated entries on the directory when an profile is listed for the second time. |
also added 409 Conflict 46f55ec |
@elf-pavlik the directory does not expose the PUT method through its API. Shouldn't we implement it also? Currently there is no use case for it but it would be usefull in case we need to somehow modify the Listing file. |
When receiving a request for listing, first check if the particular profile has been already listed, for that it is necessary to explore the stored files and search for the URI where the profile is stored. If a file containing that particular profile is found, it should be ovewritten. If not, new created.
The text was updated successfully, but these errors were encountered: