hundreds-breakfast-49010
07/23/2019, 6:46 PMOptions
rather than Goals
anyway? that doesn't seem like an Options
concern)brief-engineer-67497
07/24/2019, 7:57 AMbrief-engineer-67497
07/24/2019, 7:57 AMhundreds-breakfast-49010
07/25/2019, 5:22 PMhundreds-breakfast-49010
07/26/2019, 10:40 PMhundreds-breakfast-49010
07/26/2019, 10:41 PMhundreds-breakfast-49010
07/26/2019, 10:42 PMContent-Length
header into an int: https://github.com/pantsbuild/pants/blob/7dea441933a894b084de43fe1764889e32506dbf/src/python/pants/net/http/fetcher.py#L259hundreds-breakfast-49010
07/26/2019, 10:42 PMContent-Length
will be the compressed size, but we're comparing it against the uncompressed sizehundreds-breakfast-49010
07/26/2019, 10:44 PMfetcher.py
, and also my browser was doing gzip compression and had a Content-Length
header about 1/5 the size of the actual downloaded binaryhundreds-breakfast-49010
07/26/2019, 11:40 PMhundreds-breakfast-49010
07/26/2019, 11:42 PMiter_content
decodes gzip for us, so that code is comparing the uncompressed size of the file to the compressed size in the content-length header, which is not correctwitty-crayon-22786
07/26/2019, 11:43 PMwitty-crayon-22786
07/26/2019, 11:43 PMhundreds-breakfast-49010
07/26/2019, 11:45 PMhundreds-breakfast-49010
07/26/2019, 11:45 PMhundreds-breakfast-49010
07/26/2019, 11:46 PMFetcher
class should be rust code, if we do this, and that would involve making every client of it FFIhundreds-breakfast-49010
07/26/2019, 11:46 PMaloof-angle-91616
07/26/2019, 11:46 PMhundreds-breakfast-49010
07/26/2019, 11:46 PMfetcher.py
hundreds-breakfast-49010
07/26/2019, 11:46 PMwitty-crayon-22786
07/26/2019, 11:47 PMwitty-crayon-22786
07/26/2019, 11:47 PMhundreds-breakfast-49010
07/26/2019, 11:47 PMwitty-crayon-22786
07/26/2019, 11:47 PMhundreds-breakfast-49010
07/26/2019, 11:48 PMhundreds-breakfast-49010
07/26/2019, 11:49 PMearly-kangaroo-39629
07/27/2019, 12:10 AMminiature-dawn-49992
07/31/2019, 6:17 PMresources()
in a python context? i have a few openapi specs i want to include but when they make it into the pythonpath, they are packageless so pkgutil.get_data
can't find them.proud-yak-54773
08/01/2019, 3:10 PMwitty-crayon-22786
08/01/2019, 3:57 PM