use of org.openecard.apache.http.message.BasicHeader in project open-ecard by ecsec.
the class StreamHttpClientConnection method sendRequestHeader.
@Override
public void sendRequestHeader(HttpRequest request) throws HttpException, IOException {
assertOpen();
request.setHeader(new BasicHeader("User-Agent", AppVersion.getName() + "/" + AppVersion.getVersion()));
this.requestWriter.write(request);
incrementRequestCount();
}
Aggregations