Skip to content
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

Access static resources using HTTP POST method #15485

Closed
govi20 opened this issue Dec 18, 2018 · 2 comments
Closed

Access static resources using HTTP POST method #15485

govi20 opened this issue Dec 18, 2018 · 2 comments
Labels
for: external-project For an external project and not something we can fix status: superseded An issue that has been superseded by another

Comments

@govi20
Copy link
Contributor

govi20 commented Dec 18, 2018

I tried to access the static resource using HTTP POST method but it is not working. I saw a couple of related questions of StackOverflow.

Here is SO link => https://stackoverflow.com/questions/36476638/spring-boot-allowing-post-access-to-static-content

I believe there should be a way to access these resource via POST also.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 18, 2018
@wilkinsona
Copy link
Member

Thanks for the suggestion. Support for static resource handling is provided by Spring Framework and Spring Boot just auto-configures it for you. I don't believe it's possible to configure the supported methods at the moment as Spring Framework does not provide access to the ResourceHttpRequestHandler instances that are created for each ResourceHandlerRegistration. Access to the handler is needed so that its setSupportedMethods method can be called.

If you would like to pursue this, can you please open a Spring Framework JIRA ticket and comment here with a link to it.

@wilkinsona wilkinsona added the status: waiting-for-feedback We need additional information before we can continue label Dec 18, 2018
@govi20
Copy link
Contributor Author

govi20 commented Dec 18, 2018

@wilkinsona My bad. I forget about auto-configs 🤒 Here is the link for JIRA. Thanks! https://jira.spring.io/browse/SPR-17608

@spring-projects-issues spring-projects-issues added status: feedback-provided Feedback has been provided and removed status: waiting-for-feedback We need additional information before we can continue labels Dec 18, 2018
@bclozel bclozel added for: external-project For an external project and not something we can fix status: superseded An issue that has been superseded by another and removed status: feedback-provided Feedback has been provided status: waiting-for-triage An issue we've not yet triaged labels Dec 18, 2018
@bclozel bclozel closed this as completed Dec 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
for: external-project For an external project and not something we can fix status: superseded An issue that has been superseded by another
Projects
None yet
Development

No branches or pull requests

4 participants