beforeAddRequestBody method
Implementation
@override
void beforeAddRequestBody(HttpClientRequest request) {
request.headers.add("Destination", destination.toString());
final depth = this.depth;
if (depth != null) {
request.headers.add(Depth.headerKey, depth.name);
}
final overwrite = this.overwrite;
if (overwrite != null) {
request.headers.add("Overwrite", overwrite ? "T" : "F");
}
addIfHeader(request.headers);
}