Header override bugfix #2
This commit is contained in:
@@ -195,7 +195,7 @@ impl Into<actix_web::HttpResponse> for HttpResponse {
|
|||||||
);
|
);
|
||||||
|
|
||||||
for (key, value) in self.headers {
|
for (key, value) in self.headers {
|
||||||
builder.insert_header((key, value));
|
builder.append_header((key, value));
|
||||||
}
|
}
|
||||||
|
|
||||||
builder.body(self.body)
|
builder.body(self.body)
|
||||||
|
|||||||
Reference in New Issue
Block a user