)]}'
{
  "commit": "4a3884ae56cae78db8746ed7fbdce97554ee368f",
  "tree": "cc8429c66cdb82de314c3849d79ed37e842fb46c",
  "parents": [
    "77ca973d119d999946e62553b88425cfcdc0de6a"
  ],
  "author": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Tue Sep 27 11:14:02 2011 +0000"
  },
  "committer": {
    "name": "Maxim Dounin",
    "email": "mdounin@mdounin.ru",
    "time": "Tue Sep 27 11:14:02 2011 +0000"
  },
  "message": "Incorrect special case for \"return 204\" removed.\n\nThe special case in question leads to replies without body in\nconfiguration like\n\n    location / { error_page 404 /zero; return 404; }\n    location /zero { return 204; }\n\nwhile replies with empty body are expected per protocol specs.\n\nCorrect one will look like\n\n    if (status \u003d\u003d NGX_HTTP_NO_CONTENT) {\n\n        rc \u003d ngx_http_send_header(r);\n\n        if (rc \u003d\u003d NGX_ERROR || r-\u003eheader_only) {\n            return rc;\n        }\n\n        return ngx_http_send_special(r, NGX_HTTP_LAST);\n    }\n\nthough it looks like it\u0027s better to drop this special case at all.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ae9d8479d985e533d3912f27db92af59380fcedd",
      "old_mode": 33188,
      "old_path": "src/http/ngx_http_core_module.c",
      "new_id": "3056e847083c938c7ba7c1fe5d382be32bbfe7e5",
      "new_mode": 33188,
      "new_path": "src/http/ngx_http_core_module.c"
    }
  ]
}
