forwardemail / forwardemail/superagent

how to get the raw html code use superagent before 301 redirects?

Open
#1,339 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

here is the site , when open it, it will be redirected to the site

use curl I can get the html code of :


301 Moved Permanently

301 Moved Permanently



nginx/1.4.6 (Ubuntu)

I would like to know how to get it use the node module [superagent](http://visionmedia.github.io/superagent/#following-redirects)?

I see [Following redirects](http://visionmedia.github.io/superagent/#following-redirects), but I don't know how to use it, or it's the right way to use it?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.