{"push_id":2958673776,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"b22aef9b0a913d7fbb37dbf09d05184c7a1c5197","before":"837df353515b3502abf4e0a9559ed644f4ba7a46","commits":[{"sha":"b22aef9b0a913d7fbb37dbf09d05184c7a1c5197","author":{"name":"Péter Gál","email":"e3f3ad3b40ddfb0ed8cc39ca4cfaabe4b3129dfa@partner.samsung.com"},"message":"Fix http.METHODS property value (#1769)\n\nThe http.METHODS property returned an \"undefined\" value\r\nas it was incorrectly connected to the http_parser's methods property.\r\n\r\nChanges made:\r\n* The http.METHODS property correctly returns the list of methods\r\n  processed by the http parser.\r\n* Change the storage of the METHODS value. Now it returns a list of\r\n  strings containing the methods.\r\n* Updated the relevant documentation.\r\n* Added test case for http.METHODS.\r\n\r\nThe structure of the previous METHODS object:\r\n```js\r\n{\r\n  \"0\": \"DELETE\",\r\n  \"1\": \"GET\",\r\n  \"2\": \"HEAD\",\r\n  // <snip>\r\n  \"25\": \"PURGE\",\r\n  \"26\": \"MKCALENDAR\"\r\n}\r\n```\r\n\r\nThe new structure of the METHODS property:\r\n```js\r\n[ \"DELETE\",\r\n  \"GET\",\r\n  \"HEAD\",\r\n  // <snip>\r\n  \"PURGE\",\r\n  \"MKCALENDAR\"\r\n]\r\n```\r\n\r\nThis change aligns the http.METHODS value with node.js.\r\n\r\nIoT.js-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com","distinct":true,"url":"https://api.github.com/repos/Samsung/iotjs/commits/b22aef9b0a913d7fbb37dbf09d05184c7a1c5197"}]}
{"actor":{"display_login":"yichoi"}}