Skip to content
This repository was archived by the owner on Aug 22, 2023. It is now read-only.

Fix query duplication#17

Open
ajacksified wants to merge 2 commits into
segmentio:masterfrom
ajacksified:fix-query-duplication
Open

Fix query duplication#17
ajacksified wants to merge 2 commits into
segmentio:masterfrom
ajacksified:fix-query-duplication

Conversation

@ajacksified

Copy link
Copy Markdown

Hey there; I've got a pair of fixes:

  • When requests with querystrings were retried, the path would amend the querystring every time the request was made
  • Timeouts weren't being cleared properly due to requests.req not existing (maybe that's a thing only on newer superagents? I'm on 1.3.0)

I'm happy to split this into two separate PRs as well.

Thanks!

The path returned includes the encoded querystring, which causes retried
requests with querystrings to duplicate the querystring.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant