Leon-Schwandt commented on PR #709: URL: https://github.com/apache/tomcat/pull/709#issuecomment-4275962052
I'm glad my example was helpful to you. But what if I want to manage a website, for example, at https://example.com/index.html, and an API, for example, at https://example.com/api/user, using just one server? With a single public field, I can't distinguish between the two different requests. The browser also accepts an HTTP 302 response with a webpage, meaning it displays the content. However, I cannot return a webpage to the user and provide technical information to the API call, for example in the form of JSON. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
