Skip to content

ESO's retrieve_data() cannot be used twice in same session #434

@jwoillez

Description

@jwoillez
>>> from astroquery.eso import Eso
>>> eso = Eso()
>>> eso.retrieve_data('XXX')
>>> eso.retrieve_data('YYY')

The first call succeeds, but the second fails. The reason for this is a too clever requests module replacing urls of known permanently move responses (301). A PR with a workaround is on its way.

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