originRequest will create a new request to origin.
(start, end int64)
| 257 | |
| 258 | // originRequest will create a new request to origin. |
| 259 | func (r *reader) originRequest(start, end int64) (*http.Request, error) { |
| 260 | return r.remoteRequest(r.context.GetString(pcontext.BlobUrlCtxKey), start, end) |
| 261 | } |
| 262 | |
| 263 | // perRequest will create a new request to a peer. |
| 264 | func (r *reader) peerRequest(peer string, start, end int64) (*http.Request, error) { |
no test coverage detected