Skip to content

UrlResource should support lastModified() for http URLs [SPR-5465] #10138

@spring-projects-issues

Description

@spring-projects-issues

Justin Edelson opened SPR-5465 and commented

The lastModified() method of org.springframework.core.io.UrlResource only works for URLs that can be resolved to files. For HTTP URLs, a HEAD request could be made to get the Last Modified header.


Affects: 2.5.6

Referenced from: commits 8273083

2 votes, 3 watchers

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions