Fix request headers being included in response.

(cherry picked from commit 7df8bd6b85)
This commit is contained in:
Josh Jones 2021-11-06 12:56:25 -07:00 committed by Rémi Verschelde
parent a4b736606f
commit a19040d2de
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -383,7 +383,7 @@ bool HTTPRequest::_update_connection() {
void HTTPRequest::_request_done(int p_status, int p_code, const PoolStringArray &p_headers, const PoolByteArray &p_data) { void HTTPRequest::_request_done(int p_status, int p_code, const PoolStringArray &p_headers, const PoolByteArray &p_data) {
cancel_request(); cancel_request();
emit_signal("request_completed", p_status, p_code, headers, p_data); emit_signal("request_completed", p_status, p_code, p_headers, p_data);
} }
void HTTPRequest::_notification(int p_what) { void HTTPRequest::_notification(int p_what) {