Skip to content

Handling incorrect content-length headers #47

@TomAugspurger

Description

@TomAugspurger

From intake/intake#367

>>> x = len(dd.read_csv("https://raw.githubusercontent.com/hadley/nycflights13/master/data-raw/airports.csv").compute())
>>> y = pd.read_csv("https://raw.githubusercontent.com/hadley/nycflights13/master/data-raw/airports.csv")
>>> len(x), len(y)
(519, 1458)

@martindurant thinks this may be because Github's HTTP server isn't respecting the 'identity' request header, and is sending back the compressed content length instead.

How should we handle this situation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions