Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Sep 17, 2024

When using the development server, HTTP HEAD requests will now correctly respond for the virtual output files generated from the Angular build system. Previously Vite only handled GET requests for the files. While HEAD requests are not common in development workflows, it can be needed in more complex cases with additional servers/proxies/etc. during development.

@clydin clydin added the target: patch This PR is targeted for the next patch release label Sep 17, 2024
@clydin clydin force-pushed the devserver/head-requests branch from 8015550 to edd371e Compare September 17, 2024 22:15
When using the development server, HTTP HEAD requests will now correctly
respond for the virtual output files generated from the Angular build
system.  Previously Vite only handled GET requests for the files. While
HEAD requests are not common in development workflows, it can be needed in
more complex cases with additional servers/proxies/etc. during development.
@clydin clydin force-pushed the devserver/head-requests branch from edd371e to 79345c8 Compare September 18, 2024 00:34
@clydin clydin marked this pull request as ready for review September 18, 2024 01:02
@clydin clydin requested a review from alan-agius4 September 18, 2024 01:02
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Sep 18, 2024
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 18, 2024
@clydin clydin merged commit f6b7cd9 into angular:main Sep 18, 2024
33 checks passed
@clydin
Copy link
Member Author

clydin commented Sep 18, 2024

The changes were merged into the following branches: main, 18.2.x

@clydin clydin deleted the devserver/head-requests branch September 18, 2024 13:31
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular/build target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HEAD requests return 404 on Angular 18 dev server (except for index.html)

2 participants