https://bugs.documentfoundation.org/show_bug.cgi?id=102499

            Bug ID: 102499
           Summary: WebDAV ucp provider: Add management of unofficial HTTP
                    response status codes
           Product: LibreOffice
           Version: 5.3.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Checking the current behavior of bug 90700, I found that LO receives the HTTP
response status code "522 Connection timed out" while accessing the URL
reported in bug 90700, comment 3.
That code sits outside the official assigned range as described in
<https://tools.ietf.org/html/rfc7231#section-6>, in
<https://tools.ietf.org/html/rfc4918#section-11> and in
<https://tools.ietf.org/html/rfc7725#section-3>
RFC7231 applicable excerpt:
"
...
HTTP status codes are extensible.  HTTP clients are not required to
understand the meaning of all registered status codes, though such
understanding is obviously desirable.  However, a client MUST
understand the class of any status code, as indicated by the first
digit, and treat an unrecognized status code as being equivalent to
the x00 status code of that class, with the exception that a
recipient MUST NOT cache a response with an unrecognized status code.
...
"
At the moment LO does not implement this default remapping. 
As a further reference Wikipedia has some description too:
<https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#Unofficial_codes>.

This bug is meant to be an anchor point for all the changes needed to make LO
behave well to unofficial HTTP response status code.

First there will be a general implementation, as suggested by RFC; then one
more to the point, whenever the status code is clearly described.
For example a description as in:
<https://support.cloudflare.com/hc/en-us/sections/200820298-Error-Pages>.

All links where retrieved on 2016-09-24.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to