Add a HttpIO / HttpFileSystem
Open
bug
ideas
io
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
Add HttpIO (and a related HttpFileSystem and HttpsFileSystem), which can download files from a particular http:// or https:// URL. HttpIO cannot upload / write to files, though, because there's no standardized way to write to files using HTTP.
Sample usage:
```
(
p
| ReadFromText("https://raw.githubusercontent.com/apache/beam/5ff5313f0913ec81d31ad306400ad30c0a928b34/NOTICE")
| WriteToText("output.txt", shard_name_template="", num_shards=0)
)
```
Imported from Jira [BEAM-10101](https://issues.apache.org/jira/browse/BEAM-10101). Original Jira may contain additional context.
Reported by: epicfaace.
Contributor guide
Assessment
This issue has not been assessed yet.