This commit is contained in:
src committed 2026-09-28 11:33:52 +03:00
1 parent d340d1b2ad
commit 7ccd84cd96
101 files changed
+2070 -344

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ type Configuration struct {
ServerURL string `json:"serverURL,omitempty"`
UserAgent string `json:"userAgent,omitempty"`
HTTPClient *http.Client
// SkipCompatibilityCheck disables the automatic compatibility checks performed during authentication.
//
// It does not affect explicit CheckCompatibility calls.
+2
View File
@@ -19,9 +19,11 @@ func (e *HTTPError) Error() string {
if statusText := http.StatusText(e.StatusCode); statusText != "" {
status += " " + statusText
}
if len(e.Body) == 0 {
return status
}
return status + ": " + string(e.Body)
}