Skip to content

Bug: XML/CSV detection heuristic is inaccurate #105

@moltar

Description

@moltar

if (body.slice(0, 5) !== '<?xml') {

FulfillmentInventory.ListInventorySupply call does not return a valid XML prolog, thereby <?xml test fails and the CSV is assumed.

First line of the response is:

<ListInventorySupplyResponse xmlns="http://mws.amazonaws.com/FulfillmentInventory/2010-10-01/">

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