Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001026 [Resin] minor always 03-29-06 21:12 03-31-06 09:05
Reporter mattryall View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.19 Product Version 3.0.17
  Product Build
Summary 0001026: Resin does not conform to HTTP spec for HEAD method
Description According to the RFC 2616:

> The HEAD method is identical to GET except that the server
> MUST NOT return a message-body in the response.

Issuing a HEAD method to a Resin 2 or 3 server always returns the body of the content as well as the headers.

This puts unnecessary load on the network, and makes HEAD calls used by caches inefficient.
Steps To Reproduce
Additional Information $ nc localhost 18080
HEAD http://localhost:18080/foobar [^] HTTP/1.1

HTTP/1.1 404 Not Found
Server: Resin/3.0.17
Content-Type: text/html
Transfer-Encoding: chunked
Date: Thu, 30 Mar 2006 05:10:28 GMT

00d4
<html>
<head><title>404 Not Found</title></head>
<body>
<h1>404 Not Found</h1>
/foobar was not found on this server.

<hr />
<small>
Resin-3.0.17 (built Thu, 22 Dec 2005 12:11:34 PST)
</small>
</body></html>

Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
03-29-06 21:12 mattryall New Issue
03-31-06 09:05 ferg Assigned To  => ferg
03-31-06 09:05 ferg Status new => closed
03-31-06 09:05 ferg Resolution open => fixed
03-31-06 09:05 ferg Fixed in Version  => 3.0.19


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker