# uproot.source.http.get_num_bytes

Defined in [uproot.source.http](https://github.com/scikit-hep/uproot/blob/04d392a85cd6ca1af428a498a5b6d302d4ad655c/src/uproot/source/http.py) on [line 88](https://github.com/scikit-hep/uproot/blob/04d392a85cd6ca1af428a498a5b6d302d4ad655c/src/uproot/source/http.py#L88).

### uproot.source.http.get_num_bytes(file_path: str, parsed_url: ParseResult, timeout) → int

* **Parameters:**
  * **file_path** (*str*) – The URL to access as a raw string.
  * **parsed_url** (`urllib.parse.ParseResult`) – The URL to access.
  * **timeout** (*None* *or* *float*) – An optional timeout in seconds.

Returns the number of bytes in the file by making a HEAD request.
