View Issue Details

IDProjectCategoryView StatusLast Update
0004554libmicrohttpdcompliancepublic2016-06-03 07:20
Reportersilvioprog Assigned ToChristian Grothoff Due Date
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 19:52

reporter   ~0010840

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

silvioprog

2016-06-01 20:38

reporter   ~0010845

Fixed in rv. 37227.

Issue History

Date ModifiedUsernameFieldChange
2016-06-01 19:52silvioprogNew Issue
2016-06-01 19:52silvioprogNote Added: 0010840
2016-06-01 20:38silvioprogNote Added: 0010845
2016-06-01 21:06Christian GrothoffStatusnew => resolved
2016-06-01 21:06Christian GrothoffFixed in Version => 0.9.50
2016-06-01 21:06Christian GrothoffResolutionopen => fixed
2016-06-01 21:06Christian GrothoffAssigned To => Christian Grothoff
2016-06-01 21:07Christian GrothoffCategoryother => compliance
2016-06-01 21:07Christian GrothoffTarget Version => 0.9.50
2016-06-03 07:20Christian GrothoffStatusresolved => closed