godotengine / godotengine/godot

signal `HTTPRequest.request_completed(result: int, ...)` has argument mistyped as `int`, but should be `HTTPRequest.Result`

Open Beginner friendly
#119,280 1 comment 0 reactions 0 assignees View on GitHub
discussion enhancement topic:network
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

4.7 beta 1

### System information

windows 11

### Issue description

`HTTPRequest` node:

Image

As you can see the signal passes the result as an `int` but it sould be a `Result`.

I thought it was the same as #118184 but [apparently not](https://github.com/godotengine/godot/issues/118184#issuecomment-4386769715).

### Steps to reproduce

look at the docs

### Minimal reproduction project (MRP)

any

Contributor guide

Open the contributing guide

Research direction

Start with the HTTPRequest node documentation and the request_completed signal signature shown in the issue. Compare the result argument's displayed type with HTTPRequest.Result, then update the documented type and verify that the signal reference shows the corrected signature.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.