Skip to content

HTTP HEAD request results in 404 #924

Description

@reiner-dolp

Do you want to request a feature or report a bug?
Bug.

What is the current behavior?
HTTP HEAD method requests result in a 404: Not Found even though the resource exists and is retrievable using HTTP GET.

If the current behavior is a bug, please provide the steps to reproduce.
Compile using webpack and request any file:

$> curl -I http://localhost:8080/index.html 
HTTP/1.1 404 Not Found
X-Powered-By: Express
Content-Security-Policy: default-src 'self'
X-Content-Type-Options: nosniff
Content-Type: text/html; charset=utf-8
Content-Length: 158
Date: Sun, 28 May 2017 09:35:14 GMT
Connection: keep-alive
$> curl -G http://localhost:8080/index.html
<h1>works</h1>

Please mention your webpack and Operating System version.
Tested on Windows 10 with dev server 2.4.5 and webpack 2.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions