Fixed misc spelling mistakes.
authoralopatin <milangelic@gmail.com>
Tue, 16 Aug 2011 01:53:22 +0000 (22:53 -0300)
committeralopatin <milangelic@gmail.com>
Tue, 16 Aug 2011 01:53:22 +0000 (22:53 -0300)
requests/status_codes.py

index 28ce00b8676ec92c4f691892130c7fc2a8511285..e802314286ba749dd2cb9565779082e5a78ff61d 100644 (file)
@@ -22,7 +22,7 @@ _codes = {
 
     # Redirection.
     300: ('multiple_choices',),
-    301: ('moved_pemanently', 'moved'),
+    301: ('moved_permanently', 'moved'),
     302: ('found',),
     302: ('see_other', 'other'),
     304: ('not_modified',),
@@ -62,7 +62,7 @@ _codes = {
     499: ('client_closed_request',),
 
     # Server Error.
-    500: ('iternal_server_error', 'server_error'),
+    500: ('internal_server_error', 'server_error'),
     501: ('not_implemented',),
     502: ('bad_gateway',),
     503: ('service_unavailable', 'unavailable'),