Re:A set of best practices for JavaScript projects
by partycoder on Wednesday July 05, 2017 @11:53AM
(#14703434)
(Removed this comment as it was incorrect)
[ Parent
| on HN ]
Re:A set of best practices for JavaScript projects
by yes_or_gnome on Wednesday July 05, 2017 @12:01PM
(#14703530)
No. HEAD is the same as GET, but the server should not return a response body. The response code and headers should all be the same. This is to guarantee that a path is serviceable, response body size, and for verifying the client's cache.
Re:A set of best practices for JavaScript projects
by partycoder on Wednesday July 05, 2017 @12:08PM
(#14703605)
You are correct, sorry about that.
Removed my comment to not spread incorrect information.