https://bugs.kde.org/show_bug.cgi?id=492178

Méven <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/-/commit/a6e1750
                   |                            |5531790b2be9338aedee4e3a47a
                   |                            |bd3ce9

--- Comment #6 from Méven <[email protected]> ---
Git commit a6e17505531790b2be9338aedee4e3a47abd3ce9 by Méven Car, on behalf of
Kai Uwe Broulik.
Committed on 27/11/2025 at 12:23.
Pushed by meven into branch 'master'.

http: Use operation with known verb, if applicable

In Qt, HeadOperation (created using head()) does not behave
identical to a CustomOperation with verb "HEAD".

While a proper HeadOperation knows when not to expect any content,
a custom request with verb "HEAD" can get stuck waiting for content
indefinitely. This can for example happen when the server
requests authentication.

Custom operations are also never cached.

See https://codereview.qt-project.org/c/qt/qtbase/+/666393 but this
is only in dev, so it makes sense to address this downstream for now.

This work was sponsored by the government of Schleswig-Holstein,
under the assistence of Dataport.

M  +25   -2    autotests/http/authtest.cpp
M  +3    -1    autotests/http/httpserver.py
M  +26   -1    src/kioworkers/http/http.cpp

https://invent.kde.org/frameworks/kio/-/commit/a6e17505531790b2be9338aedee4e3a47abd3ce9

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to