Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,17 @@ Parse the response headers, and store them in a hash table for later use.

### Testing

Test by requesting web servers with domain names, and your own running `server.js`
Test by requesting web servers with domain names, and your own running `server.js`. You should be able to acquire headers



```
node client.js www.devleague.com
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since www.devleague.com will enforce https.
suggest a different example http domain,
like http://jsonplaceholder.typicode.com/posts

node client.js localhost
```

*Note*: You will not be able to acquire the response body of sites using the https protocol as you will be trying to connect over a secured port without a proper SSL handshake

### Features

1. Pipe the response content stream to stdout
Expand Down