Is it possible to obtain the last url using await needle()?
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 237
- PR merge metrics
- No merged PRs in 30d
Description
basically the title. For example in this case>
let document = await ndl('get', link, { follow_max: 5})
How can I get the last url?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the ndl('get', link, { follow_max: 5 }) example and inspect how the awaited result represents redirects. Determine whether the final URL is exposed by the existing response and document or add a clear way to obtain it. Done means the requested URL can be retrieved after following redirects.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100