From fa18705b89bbf746f05df2646e7e4f906fb51a05 Mon Sep 17 00:00:00 2001 From: Evan Goode Date: Thu, 27 Jun 2024 18:41:02 +0000 Subject: [PATCH] Fix typos in 'authentication' --- librepo/handle.h.in | 10 +++++----- tests/README.rst | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/librepo/handle.h.in b/librepo/handle.h.in index dc10b5a4..eb242dde 100644 --- a/librepo/handle.h.in +++ b/librepo/handle.h.in @@ -148,12 +148,12 @@ typedef enum { Do not duplicate local metadata, just locate the old one */ LRO_HTTPAUTH, /*!< (long 1 or 0) - Enable all supported method of HTTP authentification. + Enable all supported method of HTTP authentication. This option is DEPRECATED! Use LRO_HTTPAUTHMETHODS */ LRO_USERPWD, /*!< (char *) - User and password for http authetification in format user:password. + User and password for HTTP authentication in format user:password. The user and password strings are not URL decoded, so there is no way to send in a username containing a colon using this option. The option is DEPRECATED! Use LRO_USERNAME and LRO_PASSWORD */ @@ -168,7 +168,7 @@ typedef enum { Type of the proxy used. */ LRO_PROXYAUTH, /*!< (long 1 or 0) - Enable all supported method for proxy authentification. + Enable all supported method for proxy authentication. This option is DEPRECATED! Use LRO_PROXYAUTHMETHODS */ @@ -435,10 +435,10 @@ typedef enum { certificates. Used for proxy. */ LRO_USERNAME, /*!< (char *) - User for http authetification */ + User for HTTP authentication */ LRO_PASSWORD, /*!< (char *) - Password for http authetification */ + Password for HTTP authentication */ LRO_SENTINEL, /*!< Sentinel */ diff --git a/tests/README.rst b/tests/README.rst index f7e6d032..49c8cfed 100644 --- a/tests/README.rst +++ b/tests/README.rst @@ -48,7 +48,7 @@ $ python python/tests/servermock/server.py Url examples ------------ http://127.0.0.1:5000/yum/auth_basic/static/01/repodata/repomd.xml - * This url provides basic authentification + * This url provides basic authentication http://127.0.0.1:5000/yum/badgpg/static/01/repodata/repomd.xml.asc * This url in fact returns .../repodata/repomd.xml.asc.bad file