{"push_id":967008664,"size":4,"distinct_size":4,"ref":"refs/heads/master","head":"90a80e9421d0fe749c84497c4e71793f548705c5","before":"d99b1d221d86bbcf4f15385ca54b05cc90189f8f","commits":[{"sha":"33d7e7468baf25b2c9fd4fb740a4aa6d8d1cffac","author":{"email":"5934673ed88ae8e0af86e9e859a67a4b5f504b76@gmail.com","name":"António Afonso"},"message":"Fix NodeFileReader test\n\nThis was a leftover from a previous structure change.","distinct":true,"url":"https://api.github.com/repos/aadsm/jsmediatags/commits/33d7e7468baf25b2c9fd4fb740a4aa6d8d1cffac"},{"sha":"dd5c6acf9ee40bd9c6b9411a7dda4fe2d96fc7f3","author":{"email":"5934673ed88ae8e0af86e9e859a67a4b5f504b76@gmail.com","name":"António Afonso"},"message":"Use GET range request instead of HEAD to figure out the file size\n\nThe Content-Length is an optional header for the HEAD request (https://tools.ietf.org/html/rfc7231#section-4.3.2), so not all servers implement it.\nAdd a function that figures out the file size using a GET range request instead.\nAlso added a few more checks for the Content-Length and Content-Range that didn't exist before. This makes sure that we're receiving what we're expecting.\n\nFor now this strategy is only used when the HEAD request fails to produce a Content-Length.\nI plan to eventually move to GET only requests since I also get 1K worth of data, reducing the number of total requests made by 1.\n\nAdditional tests were implemented to make sure the file size is being read correctly.\n\nAdded `jsmediatags.Config.EXPERIMENTAL_avoidHeadRequests()` to avoid HEAD requests at all.\n\nFix #6","distinct":true,"url":"https://api.github.com/repos/aadsm/jsmediatags/commits/dd5c6acf9ee40bd9c6b9411a7dda4fe2d96fc7f3"},{"sha":"2d39ac077e6ffeb10e757f7a0b03bdf4123cec70","author":{"email":"5934673ed88ae8e0af86e9e859a67a4b5f504b76@gmail.com","name":"António Afonso"},"message":"Revert es2015-block-scoping change\n\nThere's no need for this, node v4 supports it.","distinct":true,"url":"https://api.github.com/repos/aadsm/jsmediatags/commits/2d39ac077e6ffeb10e757f7a0b03bdf4123cec70"},{"sha":"90a80e9421d0fe749c84497c4e71793f548705c5","author":{"email":"5934673ed88ae8e0af86e9e859a67a4b5f504b76@gmail.com","name":"António Afonso"},"message":"Version 3.0.2\n\n- Fix problem when reading the file size from servers who don't implement Content-Length for HEAD requests.","distinct":true,"url":"https://api.github.com/repos/aadsm/jsmediatags/commits/90a80e9421d0fe749c84497c4e71793f548705c5"}]}