PyDocs

Nav

Internet Protocols and Support

DataHandler.data_open

urllib.request

method of DataHandler (source) not WASI
  • DataHandler.data_open(req)
Read a data URL. This kind of URL contains the content encoded in the URL itself. The data URL syntax is specified in RFC 2397. This implementation ignores white spaces in base64 encoded data URLs so the URL may be wrapped in whatever source file it comes from. But even though some browsers don’t mind about a missing padding at the end of a base64 encoded data URL, this implementation will raise a ValueError in that case.
0 Examples
No examples for urllib.request/DataHandler.data_open.
See Also
No see-alsos for urllib.request/DataHandler.data_open
0 Notes
No notes for DataHandler.data_open