Skip to content

Commit

Permalink
Update docs for Host header
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Aug 6, 2015
1 parent 08933e1 commit de6c41c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,11 @@ gor --input-raw :80 --output-http "http://staging.server" \
--http-header "Enable-Feature-X: true"
```

#### Host header
Host header gets special treatment. By default Host get set to the value specified in --output-http. If you manually set --http-header "Host: anonther.com", Gor will not override Host value.

If you app accepts traffic from multiple domain, and you want to keep original headers, there is specific `--http-original-host` with tells Gor do not touch Host header at all.

### Saving requests to file and replaying them
You can save requests to file, and replay them later:
```
Expand Down

0 comments on commit de6c41c

Please sign in to comment.