@@ -343,17 +343,28 @@ class SettingsFrame(Frame):
343343 # We need to define the known settings, they may as well be class
344344 # attributes.
345345 #: The byte that signals the SETTINGS_HEADER_TABLE_SIZE setting.
346- HEADER_TABLE_SIZE = 0x01
346+ HEADER_TABLE_SIZE = 0x01
347347 #: The byte that signals the SETTINGS_ENABLE_PUSH setting.
348- ENABLE_PUSH = 0x02
348+ ENABLE_PUSH = 0x02
349349 #: The byte that signals the SETTINGS_MAX_CONCURRENT_STREAMS setting.
350- MAX_CONCURRENT_STREAMS = 0x03
350+ MAX_CONCURRENT_STREAMS = 0x03
351351 #: The byte that signals the SETTINGS_INITIAL_WINDOW_SIZE setting.
352- INITIAL_WINDOW_SIZE = 0x04
352+ INITIAL_WINDOW_SIZE = 0x04
353353 #: The byte that signals the SETTINGS_MAX_FRAME_SIZE setting.
354- SETTINGS_MAX_FRAME_SIZE = 0x05
354+ MAX_FRAME_SIZE = 0x05
355355 #: The byte that signals the SETTINGS_MAX_HEADER_LIST_SIZE setting.
356- SETTINGS_MAX_HEADER_LIST_SIZE = 0x06
356+ MAX_HEADER_LIST_SIZE = 0x06
357+
358+ """
359+ .. deprecated:: 3.1.2
360+ Use :SettingsFrame:`MAX_FRAME_SIZE` instead.
361+ """
362+ SETTINGS_MAX_FRAME_SIZE = MAX_FRAME_SIZE
363+ """
364+ .. deprecated:: 3.1.2
365+ Use :SettingsFrame:`MAX_HEADER_LIST_SIZE` instead.
366+ """
367+ SETTINGS_MAX_HEADER_LIST_SIZE = MAX_HEADER_LIST_SIZE
357368
358369 def __init__ (self , stream_id = 0 , settings = None , ** kwargs ):
359370 super (SettingsFrame , self ).__init__ (stream_id , ** kwargs )
0 commit comments