Not only talking about that line by the way, also the following: https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/34f301b18227cbca24a8f5e636c405fc844077da/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntry.java#L212
> On 15 Apr 2019, at 15:40, Roy Teeuwen <[email protected]> wrote: > > Hey dev's, > > Currently the mapping entries for the resource resolver always cause a 302, I > was wondering if there is anything against making this configurable to be > either a 301 or a 302? > > https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/34f301b18227cbca24a8f5e636c405fc844077da/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntry.java#L148 > > <https://github.com/apache/sling-org-apache-sling-resourceresolver/blob/34f301b18227cbca24a8f5e636c405fc844077da/src/main/java/org/apache/sling/resourceresolver/impl/mapping/MapEntry.java#L148> > > Greets, > Roy
