@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.12\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-05-09 15:40 +0000\n "
14
+ "POT-Creation-Date : 2025-05-30 15:38 +0000\n "
15
15
"PO-Revision-Date : 2024-05-11 00:32+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2024\n "
17
17
"Language-Team : Portuguese (Brazil) (https://app.transifex.com/python-doc/ "
@@ -566,9 +566,6 @@ msgid ""
566
566
"of response codes in that shows all the response codes used by :rfc:`2616`. "
567
567
"The dictionary is reproduced here for convenience ::"
568
568
msgstr ""
569
- ":attr:`http.server.BaseHTTPRequestHandler.responses` é um dicionário útil de "
570
- "códigos de resposta que mostra todos os códigos de resposta usados por :rfc:"
571
- "`2616`. O dicionário é reproduzido aqui para facilitar ::"
572
569
573
570
#: ../../howto/urllib2.rst:251
574
571
msgid ""
@@ -640,73 +637,6 @@ msgid ""
640
637
" 505: ('HTTP Version Not Supported', 'Cannot fulfill request.'),\n"
641
638
" }"
642
639
msgstr ""
643
- "# Tabela de mapeamento de códigos de resposta para mensagens;\n"
644
- "# as entradas têm o formato {código: (mensagemcurta, mensagemlonga)}.\n"
645
- "responses = {\n"
646
- " 100: ('Continue', 'Request received, please continue'),\n"
647
- " 101: ('Switching Protocols',\n"
648
- " 'Switching to new protocol; obey Upgrade header'),\n"
649
- "\n"
650
- " 200: ('OK', 'Request fulfilled, document follows'),\n"
651
- " 201: ('Created', 'Document created, URL follows'),\n"
652
- " 202: ('Accepted',\n"
653
- " 'Request accepted, processing continues off-line'),\n"
654
- " 203: ('Non-Authoritative Information', 'Request fulfilled from cache'),\n"
655
- " 204: ('No Content', 'Request fulfilled, nothing follows'),\n"
656
- " 205: ('Reset Content', 'Clear input form for further input.'),\n"
657
- " 206: ('Partial Content', 'Partial content follows.'),\n"
658
- "\n"
659
- " 300: ('Multiple Choices',\n"
660
- " 'Object has several resources -- see URI list'),\n"
661
- " 301: ('Moved Permanently', 'Object moved permanently -- see URI list'),\n"
662
- " 302: ('Found', 'Object moved temporarily -- see URI list'),\n"
663
- " 303: ('See Other', 'Object moved -- see Method and URL list'),\n"
664
- " 304: ('Not Modified',\n"
665
- " 'Document has not changed since given time'),\n"
666
- " 305: ('Use Proxy',\n"
667
- " 'You must use proxy specified in Location to access this '\n"
668
- " 'resource.'),\n"
669
- " 307: ('Temporary Redirect',\n"
670
- " 'Object moved temporarily -- see URI list'),\n"
671
- "\n"
672
- " 400: ('Bad Request',\n"
673
- " 'Bad request syntax or unsupported method'),\n"
674
- " 401: ('Unauthorized',\n"
675
- " 'No permission -- see authorization schemes'),\n"
676
- " 402: ('Payment Required',\n"
677
- " 'No payment -- see charging schemes'),\n"
678
- " 403: ('Forbidden',\n"
679
- " 'Request forbidden -- authorization will not help'),\n"
680
- " 404: ('Not Found', 'Nothing matches the given URI'),\n"
681
- " 405: ('Method Not Allowed',\n"
682
- " 'Specified method is invalid for this server.'),\n"
683
- " 406: ('Not Acceptable', 'URI not available in preferred format.'),\n"
684
- " 407: ('Proxy Authentication Required', 'You must authenticate with '\n"
685
- " 'this proxy before proceeding.'),\n"
686
- " 408: ('Request Timeout', 'Request timed out; try again later.'),\n"
687
- " 409: ('Conflict', 'Request conflict.'),\n"
688
- " 410: ('Gone',\n"
689
- " 'URI no longer exists and has been permanently removed.'),\n"
690
- " 411: ('Length Required', 'Client must specify Content-Length.'),\n"
691
- " 412: ('Precondition Failed', 'Precondition in headers is false.'),\n"
692
- " 413: ('Request Entity Too Large', 'Entity is too large.'),\n"
693
- " 414: ('Request-URI Too Long', 'URI is too long.'),\n"
694
- " 415: ('Unsupported Media Type', 'Entity body in unsupported format.'),\n"
695
- " 416: ('Requested Range Not Satisfiable',\n"
696
- " 'Cannot satisfy request range.'),\n"
697
- " 417: ('Expectation Failed',\n"
698
- " 'Expect condition could not be satisfied.'),\n"
699
- "\n"
700
- " 500: ('Internal Server Error', 'Server got itself in trouble'),\n"
701
- " 501: ('Not Implemented',\n"
702
- " 'Server does not support this operation'),\n"
703
- " 502: ('Bad Gateway', 'Invalid responses from another server/proxy.'),\n"
704
- " 503: ('Service Unavailable',\n"
705
- " 'The server cannot process the request due to a high load'),\n"
706
- " 504: ('Gateway Timeout',\n"
707
- " 'The gateway server did not receive a timely response'),\n"
708
- " 505: ('HTTP Version Not Supported', 'Cannot fulfill request.'),\n"
709
- " }"
710
640
711
641
#: ../../howto/urllib2.rst:319
712
642
msgid ""
@@ -756,7 +686,7 @@ msgstr ""
756
686
757
687
#: ../../howto/urllib2.rst:339
758
688
msgid "Wrapping it Up"
759
- msgstr ""
689
+ msgstr "Resumindo "
760
690
761
691
#: ../../howto/urllib2.rst:341
762
692
msgid ""
@@ -976,7 +906,7 @@ msgstr ""
976
906
977
907
#: ../../howto/urllib2.rst:448
978
908
msgid "Basic Authentication"
979
- msgstr ""
909
+ msgstr "Autenticação básica "
980
910
981
911
#: ../../howto/urllib2.rst:450
982
912
msgid ""
@@ -986,6 +916,12 @@ msgid ""
986
916
"Authentication Tutorial <https://web.archive.org/web/20201215133350/http://"
987
917
"www.voidspace.org.uk/python/articles/authentication.shtml>`__."
988
918
msgstr ""
919
+ "Para ilustrar a criação e instalação de um manipulador, usaremos o "
920
+ "``HTTPBasicAuthHandler``. Para uma discussão mais detalhada sobre este "
921
+ "assunto — incluindo uma explicação de como funciona a autenticação básica — "
922
+ "consulte este ``tutorial de autenticação básica <https://web.archive.org/"
923
+ "web/20201215133350/http://www.voidspace.org.uk/python/articles/"
924
+ "authentication.shtml>`__."
989
925
990
926
#: ../../howto/urllib2.rst:456
991
927
msgid ""
@@ -994,14 +930,18 @@ msgid ""
994
930
"authentication scheme and a 'realm'. The header looks like: ``WWW-"
995
931
"Authenticate: SCHEME realm=\" REALM\" ``."
996
932
msgstr ""
933
+ "Quando a autenticação é necessária, o servidor envia um cabeçalho (e o "
934
+ "código de erro 401) solicitando autenticação. Isso especifica o esquema de "
935
+ "autenticação e um \" domínio\" . O cabeçalho se parece com: ``WWW-"
936
+ "Authenticate: SCHEME realm=\" REALM\" ``."
997
937
998
938
#: ../../howto/urllib2.rst:461
999
939
msgid "e.g."
1000
- msgstr ""
940
+ msgstr "Por exemplo: "
1001
941
1002
942
#: ../../howto/urllib2.rst:463
1003
943
msgid "WWW-Authenticate: Basic realm=\" cPanel Users\" "
1004
- msgstr ""
944
+ msgstr "WWW-Authenticate: Basic realm= \" cPanel Users \" "
1005
945
1006
946
#: ../../howto/urllib2.rst:468
1007
947
msgid ""
@@ -1010,6 +950,10 @@ msgid ""
1010
950
"authentication'. In order to simplify this process we can create an instance "
1011
951
"of ``HTTPBasicAuthHandler`` and an opener to use this handler."
1012
952
msgstr ""
953
+ "O cliente deve então tentar a solicitação novamente com o nome e a senha "
954
+ "apropriados para o domínio incluídos como cabeçalho na solicitação. Isso é "
955
+ "\" autenticação básica\" . Para simplificar esse processo, podemos criar uma "
956
+ "instância de ``HTTPBasicAuthHandler`` e um opener para usar esse manipulador."
1013
957
1014
958
#: ../../howto/urllib2.rst:473
1015
959
msgid ""
0 commit comments