View Issue Details

IDProjectCategoryView StatusLast Update
0004554libmicrohttpdcompliancepublic2016-06-03 09:20
Reportersilvioprog Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version0.9.49 
Target Version0.9.50Fixed in Version0.9.50 
Summary0004554: Status 304 and insistent Content-Length header
DescriptionHello,

According to links below, the Content-Length should not be returned in 304 responses:

Comments at Nginx core: https://trac.nginx.org/nginx/ticket/459

Comments at StackOverflow topic: http://stackoverflow.com/questions/691318/what-headers-do-i-want-to-send-together-with-a-304-response

Implementation in module Express from NodeJS: https://github.com/expressjs/express/blob/master/lib/response.js#L192

It would be nice if MHD could allow to remove the Content-Length header. Currently, you can't remove it via MHD_del_response_header() function. (tested with 0.9.49)
TagsNo tags attached.

Activities

silvioprog

2016-06-01 21:52

developer   ~0010840

MHD topic: http://lists.gnu.org/archive/html/libmicrohttpd/2016-06/msg00000.html

silvioprog

2016-06-01 22:38

developer   ~0010845

Fixed in rv. 37227.

Issue History

Date Modified Username Field Change
2016-06-01 21:52 silvioprog New Issue
2016-06-01 21:52 silvioprog Note Added: 0010840
2016-06-01 22:38 silvioprog Note Added: 0010845
2016-06-01 23:06 Christian Grothoff Status new => resolved
2016-06-01 23:06 Christian Grothoff Fixed in Version => 0.9.50
2016-06-01 23:06 Christian Grothoff Resolution open => fixed
2016-06-01 23:06 Christian Grothoff Assigned To => Christian Grothoff
2016-06-01 23:07 Christian Grothoff Category other => compliance
2016-06-01 23:07 Christian Grothoff Target Version => 0.9.50
2016-06-03 09:20 Christian Grothoff Status resolved => closed