File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -189,11 +189,13 @@ type Response struct {
189
189
Trailer http.Header
190
190
TLS * tls.ConnectionState
191
191
192
- // Request is nil when recording a track to the cassette.
192
+ // govcr initially sets Request to nil when recording a track to the cassette.
193
+ // It is only possible to force a value to cassette through a track record mutator.
193
194
// At _replaying_ _time_ _only_ it will be populated with the "current" HTTP request.
194
195
// This is useful in scenarios where the request contains a dynamic piece of information
195
196
// such as e.g. a transaction ID, a customer number, etc.
196
- // This is solely for informational purpose at replaying time. Mutating it achieves nothing.
197
+ // This is solely for informational purpose at replaying time.
198
+ // Mutating it at replay time typically achieves nothing very useful.
197
199
Request * Request
198
200
}
199
201
You can’t perform that action at this time.
0 commit comments