Merge pull request #54683 from DarkKilauea/fix-http-response-headers

[3.x] Fix request headers being included in response.
This commit is contained in:
Rémi Verschelde 2021-11-06 21:26:21 +01:00 committed by GitHub
commit eae7a5384e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {