[#31] Document BasicAuth injection

Has been asked about previously. `http.Client.Do` does this for us.
This commit is contained in:
Dan Carley
2013-10-24 13:02:14 +01:00
parent 24a240c819
commit bc4fabd0da
+10
View File
@@ -80,6 +80,16 @@ gor replay -f "http://staging.server" \
-header "Enable-Feature-X: true"
```
### Basic Auth
If your development or staging environment is protected by Basic Authentication
then those credentials can be injected in during the replay:
```
gor replay -f "http://user1:pass1@dev.server,http://user2:pass2@staging.server"
```
**Note:** This will overwrite any `Authorization` headers in the original
request.
## Stats