Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.4.0
-
None
-
- macos
- python3.10
- PyQt6==6.4.0
- PyQt6-WebEngine==6.4.0
- PyQt6-WebEngine-Qt6==6.4.0
Description
The following documentation seems to be incorrect:
> Redirects this request to url. It is only possible to redirect requests that do not have payload data, such as GET requests.
https://doc.qt.io/qt-6/qwebengineurlrequestinfo.html#redirect
For POST requests the payload is included in the redirect. If you for instance redirect to a local webserver on localhost, the payload is included.
I think this documentation is outdated, perhaps it was correct for WebKit. However, it doesn't seem to be correct for Chromium.
Best Regards,
Sam
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-108763 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
507060,1 | Correct documentation for QWebEngineUrlReuqestInfo::redirect | dev | qt/qtwebengine | Status: NEW | 0 | 0 |