Show More
@@ -900,6 +900,13 class bundlepart(object): | |||
|
900 | 900 | return tuple(self._advisoryparams) |
|
901 | 901 | |
|
902 | 902 | def addparam(self, name, value='', mandatory=True): |
|
903 | """add a parameter to the part | |
|
904 | ||
|
905 | If 'mandatory' is set to True, the remote handler must claim support | |
|
906 | for this parameter or the unbundling will be aborted. | |
|
907 | ||
|
908 | The 'name' and 'value' cannot exceed 255 bytes each. | |
|
909 | """ | |
|
903 | 910 | if self._generated is not None: |
|
904 | 911 | raise error.ReadOnlyPartError('part is being generated') |
|
905 | 912 | if name in self._seenparams: |
General Comments 0
You need to be logged in to leave comments.
Login now