Hi Brad,
some systems just "soft delete" items in their database/configuration, as
in, they mark them as deleted
with a field, without fully removing the information for some time.
This allows recovery in case of removal by mistake (for example, there are
other reasons).

But GeoServer does nothing like that, once something it's deleted from the
config, it's completely gone.

Cheers
Andrea

On Thu, May 6, 2021 at 12:05 PM Brad Hards <br...@frogmouth.net> wrote:

> On Thursday, 6 May 2021 6:07:31 PM AEST Sander Schaminee (JIRA) wrote:
> > I would like to propose to return a *410 (
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410 )* instead
> in this case:
> > > 410 Gone
> > >
> > >
> > >
> > > This response is sent when the requested content has been permanently
> > > deleted from server, with no forwarding address. Clients are expected
> to
> > > remove their caches and links to the resource. The HTTP specification
> > > intends this status code to be used for "limited-time, promotional
> > > services". APIs should not feel compelled to indicate resources that
> have
> > > been deleted with this status code.
> >
> > Please let me know your thoughts on this matter.
> How can the server tell the difference between something that once existed
> but
> is deleted, and something that never existed?
>
> Even if it could, the semantics seems opposed to the last two sentence in
> the
> part you quoted.
>
> Brad
>
>
>
>
>
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>


-- 

Regards, Andrea Aime

== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
(LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to